Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »



Introduced in

Version:3.4

Description

Description: Defines the behavior for all AI vehicle crew members that are able to turn out (via a hatch).
This command overrides any actions caused by the setBehaviour command.

Syntax

Syntax: vehicle forceCrewInOut turnout
Parameters:
  • vehicle: Object - Crewed vehicle with turret hatches.
  • turnout: String - Whether crew should turn out or in. Can be:
    • "OUT": Turn out
    • "IN": Turn in
    • "DEFAULT": Resume default behavior
Return Value: Nothing

Examples

Examples:
tank1 forceCrewInOut "out"

Additional Information

See also: forceCrewInOutTurrets, forceCrewInOutDriver, isTurnedOut
Multiplayer: 
Problems:Effect on cargo turrets (i.e. cargo seats from which players can use their personal weapons) may be unreliable in some vehicles.

Notes



Does not apply to player controlled characters

  • No labels