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