GetCrewEnabled

Category: Objects / Crew
Since engine version: 4.9.1.0 GWE

Description

Determines whether a crew member can currently be selected.

Syntax

bool GetCrewEnabled (object pObj);

Parameter

pObj:
Object of which to determine the status. Can be 0 in local calls.

Example

if (!GetCrewEnabled(GetHiRank())) SetCrewEnabled(1, GetCursor());
Activates the highest ranking clonk of the first player if that one is not already activated.
See also: MakeCrewMember, SelectCrew, SetCrewEnabled
Sven2, April 2002