Usage:
ObjectTemplate.CanBeRepaiedAsDestroyed
boolean
Argument values:
argument 1: | c_True; most commonly c_True |
Related properties: AddTemplate, AiTemplate, GUIIndex, SetCrossHairType, SetNetworkableInfo, SetNumberOfWeaponIcons, SetPosition, SetPrimaryAmmoBar, SetPrimaryAmmoIcon, SetSoldierExitLocation, SetVehicleCategory, SetVehicleIcon, SetVehicleIconPos
Used in object types (and how often in each type): PlayerControlObject (3%)
Used in a total of 2 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from Bf1942/Levels/Coral_Sea/Objects/Hiryu/Objects.con)
rem *** Enterprise_AABattery1 ***
ObjectTemplate.Create PlayerControlObject ShokakuAABattery1
ObjectTemplate.AiTemplate ShokakuAA2
ObjectTemplate.SetNetworkableInfo ShokakuBodyInfo
rem -------------------------------------
ObjectTemplate.AddTemplate Carrier_AA_Base
ObjectTemplate.SetPosition 0/0.5/0
rem -------------------------------------
ObjectTemplate.CanBeRepaiedAsDestroyed c_True
ObjectTemplate.SetSoldierExitLocation 1.2/0.2/0 0/0/0
ObjectTemplate.GUIIndex 95
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_shokaku.tga"
ObjectTemplate.SetVehicleIconPos 50/65
ObjectTemplate.SetNumberOfWeaponIcons 1
ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.SetPrimaryAmmoBar ABIconOnly
ObjectTemplate.SetCrossHairType CHTNone
ObjectTemplate.SetVehicleCategory VCSea
ObjectTemplate.SetVehicleType VTCarrier
ObjectTemplate.SetToolTipType TTCarrier
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_aircraft_carrier_64x64.tga"
ObjectTemplate.SetMinimapIconSize 64
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.