Usage:
ObjectTemplate.ShowPCOCockpit
boolean
Argument values:
argument 1: | 0; most commonly 0 |
Description: This property is used exclusively in Battlefield Vietnam.
Related properties: AddTemplate, AiTemplate, GUIIndex, NetworkableInfo, SetPosition, SetSoldierExitLocation, VehicleCategory, VehicleIcon, VehicleIconPos
Used in object types (and how often in each type): PlayerControlObject (10%)
Used in a total of 13 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Air/Chinook/Objects.con)
rem -------------------------------------
rem **********************************************
rem * PASSENGER POSITIONS *
rem **********************************************
rem *** ChinookM60Gunner_1 ***
ObjectTemplate.Create PlayerControlObject ChinookM60Gunner_1
ObjectTemplate.NetworkableInfo Chinookbodyinfo
ObjectTemplate.AiTemplate ChinookMGAI1
rem -------------------------------------
ObjectTemplate.AddTemplate ChinookPassengerSeat
ObjectTemplate.SetPosition 0/0/0
ObjectTemplate.AddTemplate ChinookGunnerLeft_M60Base
ObjectTemplate.SetPosition 0/0.408/0.227
ObjectTemplate.SetRotation 90/0/0
rem ObjectTemplate.addTemplate ChinookPassenger_Camera
rem ObjectTemplate.setPosition 0/0.923/0
ObjectTemplate.AddTemplate ChinookEntry
ObjectTemplate.SetPosition 1.242/0.531/-0.925
ObjectTemplate.AddTemplate ChinookEntry
ObjectTemplate.SetPosition -1.758/0.531/-0.925
ObjectTemplate.AddTemplate ChinookEntry
ObjectTemplate.SetPosition -5.258/0.531/-0.925
ObjectTemplate.AddTemplate ChinookEntry
ObjectTemplate.SetPosition -8.758/0.531/-0.925
rem -------------------------------------
ObjectTemplate.ShowPCOCockpit 0
ObjectTemplate.SetSoldierExitLocation -13.058/-0.869/-0.925 -90/0/0
ObjectTemplate.GUIIndex 29
ObjectTemplate.VehicleIcon "Vehicle/icon_uh1assault.dds"
ObjectTemplate.VehicleIconPos 89/93
ObjectTemplate.NumberOfWeaponIcons 1
ObjectTemplate.PrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.PrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.VehicleCategory VCAir
ObjectTemplate.VehicleType VTFighter
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_huey_16x16.dds"
ObjectTemplate.CrossHairType CHTCrossHair
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.