SetAttachToListener Property

Usage:
   ObjectTemplate.SetAttachToListener boolean

Argument values:

argument 1:    1; most commonly 1

Related properties: AddTemplate, LoadSoundScript, SetAcceleration, SetMaxSpeed

Used in object types (and how often in each type): Engine (23%), PlayerControlObject (1%), RotationalBundle (14%)

Used in a total of 61 .con files: Objects.con, Physics.con

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from objects/Vehicles/Sea/Lcvp/Objects.con)
   rem *** Lcvp_BrowningBase ***
   ObjectTemplate.Create RotationalBundle Lcvp_BrowningBase
   ObjectTemplate.SetNetworkableInfo LcvpTurretInfo
   ObjectTemplate.SetAttachToListener 1
   rem -------------------------------------
   ObjectTemplate.AddTemplate LcvpBrowningRotation
   ObjectTemplate.SetPosition 0/0.96/0.53
   ObjectTemplate.AddTemplate LcvpBrowningMount
   ObjectTemplate.SetPosition 0/0.86/0.13
   ObjectTemplate.SetRotation 180/0/0
   rem -------------------------------------
   ObjectTemplate.SetMinRotation -60/0/0
   ObjectTemplate.SetMaxRotation 60/0/0
   ObjectTemplate.SetMaxSpeed 90/0/0
   ObjectTemplate.SetAcceleration 5000/0/0
   ObjectTemplate.SetInputToYaw c_PIMouseLookX


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.