====== VEHICLE ====== **Category**: Asset Parent class: [[:api:asset|ASSET]]\\ [[:assets:vehicle| List of VEHICLE assets]] ===== Properties ===== ---- ==== DefaultSpeed ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''12.0f'' ---- ==== Model ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:prefab|PREFAB]]'' * **Expected**: ''asset ID'' ---- ==== AttachName ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== RtpcSoundName ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== AnimationList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:vehicle_animation|VEHICLE_ANIMATION]]>'' * **Expected**: ''list of VEHICLE_ANIMATION values'' ===== Functions ===== ---- ==== spawn ==== ''[[:api:comp_vehicle|COMP_VEHICLE]] **spawn**(//level//)'' ^ Name ^ Type ^ Description ^ | //''level''// | ''[[:api:level|LEVEL]]'' | |