SetHasTarget Property

Usage:
   ObjectTemplate.SetHasTarget boolean

Argument values:

argument 1:    0; most commonly 0

Related properties: SetAcceleration, SetContinousRotationSpeed, SetInputToPitch, SetInputToRoll, SetInputToYaw, SetMaxRotation, SetMaxSpeed, SetMinRotation

Used in object types (and how often in each type): Camera (9%)

Used in a total of 18 .con files: Objects.con

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

Example: (from objects/Vehicles/Sea/Daihatsu/Objects.con)
   rem ObjectTemplate.addTemplate usSoldier
   rem
   rem *** DaihatsuPassangerCamera ***
   rem
   ObjectTemplate.Create Camera DaihatsuPassangerCamera
   ObjectTemplate.SetMinRotation -90/-80/0
   ObjectTemplate.SetMaxRotation 90/80/0
   ObjectTemplate.SetPivotPosition 0/0/0
   ObjectTemplate.SetMaxSpeed 90/90/0
   ObjectTemplate.SetAcceleration 5000/5000/0
   ObjectTemplate.SetContinousRotationSpeed 0/0/0
   ObjectTemplate.SetInputToYaw c_PIMouseLookX
   ObjectTemplate.SetInputToPitch c_PIMouseLookY
   ObjectTemplate.SetInputToRoll c_PINone
   ObjectTemplate.SetHasTarget 0


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