SetMode( <mode> )


Module: Turret
SP Only

Summary:

Set the mode of a turret.



Call this on:

<turret> A turret entity



Example:

mg42 SetMode( "auto_ai" );



Required Args:

  • 1 : <mode> The turret mode. Possible modes are "auto_ai", "manual", "manual_ai" and "auto_nonai