Usage:
ObjectTemplate.AttachToListener
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetAttachToListener.
Related properties: AddTemplate, MaxSpeed, NetworkableInfo
Used in object types (and how often in each type): Bundle (1%), Engine (11%), RotationalBundle (5%)
Used in a total of 25 .con files: Objects.con, Physics.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Land/Patton/Physics.con)
rem *** PattonEngine ***
ObjectTemplate.Create Engine PattonEngine
ObjectTemplate.NetworkableInfo PattonEngineInfo
ObjectTemplate.AttachToListener 1
ObjectTemplate.LoadSoundScript Sounds/SheridanEngine.ssc
ObjectTemplate.HasMobilePhysics 1
rem -------------------------------------
ObjectTemplate.AddTemplate Patton_TreadL
ObjectTemplate.SetPosition 0/-1/-0.164
ObjectTemplate.AddTemplate Patton_TreadR
ObjectTemplate.SetPosition 0/-1/0.164
rem -------------------------------------
ObjectTemplate.MinRotation -1/0/-1
ObjectTemplate.MaxRotation 1/0/1
ObjectTemplate.MaxSpeed 4/0/10
ObjectTemplate.Acceleration 4/0/10
ObjectTemplate.InputToYaw c_PIYaw
ObjectTemplate.InputToRoll c_PIThrottle
ObjectTemplate.AutomaticReset 1
ObjectTemplate.EngineType c_ETTank
ObjectTemplate.Torque 5
ObjectTemplate.Differential 4
ObjectTemplate.NumberOfGears 5
ObjectTemplate.GearUp 0.95
ObjectTemplate.GearDown 0.45
ObjectTemplate.GearChangeTime 0.02
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.