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



Introduced in

Version:2.15

Description

Description:

Checks whether a unit is turned out from a hatched vehicle position.

Only returns a variable status for vehicles that have the property hideProxyInCombat set to true; otherwise false is returned.

Syntax

Syntax:IsTurnedOutHatch unit
Parameters:
  • unit: Object - Unit is a hatched vehicle position
Return Value:Boolean - If true, then unit is turned out. If false unit is turned in, or position doesn't have a hatch.

Examples

Examples:
if (IsTurnedOutHatch player) then {hint "Turn in"}

Additional Information

See also: isTurnedOut, forceCrewInOut
Multiplayer: 
Problems: 

Notes