Skip to content

TargetLaser

Draws a sighting line from a firing vehicle to where its shot is aimed.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no
rules.ini
[MYSNIPERTANK] ; a UnitType registered in [VehicleTypes]
TargetLaser=yes

Each shot the vehicle fires shows a sighting line for TargetLaserTime frames. The line runs from the vehicle’s turret to the point it is aiming at, with a small square at each end. It follows the aim, not the projectile, so it tracks a moving target. It disappears as soon as the vehicle has no target. By default the line is dashed and dark red; Action lines lists the UI.INI keys that restyle it.

The line has two limits:

  • Only vehicles draw it. On an aircraft, structure or infantry type the key has no visible effect.
  • It appears only for a house the local player controls, so an opponent’s sighting lines are never shown.