Turret commands
 
Specific commands for the Turret entities: trap_camgun, trap_rocketturret and trap_securityturret. Turret entities are a subclass of sentient entities, they also respond to many sentient and entity commands (gameX86 source code reference: turret.cpp).

Specific entity commands are colored in brown in my custom SinScript syntax coloring wordfile for UltraEdit32.


activate
 
Function
 
This activates a turret. In active mode, the turret is "awake" and will attack the player if he walks within its range.

Syntax
 
$<turret_name> activate

Notes & examples
 
For more info on the turret entities, refer to the entity docs on trap_camgun, trap_rocketturret and trap_securityturret.


deactivate
 
Function
 
This deactivates a turret. In inactive mode, the turret is "asleep" and will not attack the player even if he walks within its range.

Syntax
 
$<turret_name> deactivate

Notes & examples
 
For more info on the turret entities, refer to the entity docs on trap_camgun, trap_rocketturret and trap_securityturret.