HelicopterLandingZone¶
Constructors¶
Constructor |
Description |
---|---|
Members¶
Member |
Description |
---|---|
True while this landing zone is claimed |
|
The position of this landing zone |
Methods¶
Method |
Description |
---|---|
Marks this landing zone as claimed |
|
Releases this landing zone’s claim |
|
Static methods¶
Method |
Description |
---|---|
Gets the closest helicopter landing zone to the target position |
Details¶
-
class
HelicopterLandingZone
¶ -
HelicopterLandingZone
HelicopterLandingZone
()¶
-
const bool
isClaimed
¶ True while this landing zone is claimed
-
void
Claim
()¶ Marks this landing zone as claimed While claimed, no other squads will try to use the helicopter landing zone. When claiming through this function, the landing zone must be manually released through
ReleaseClaim()
when done! Alternatively you can let a squad claim throughsquad.ClaimLandingZone()
which will automatically be released when the squad is disbanded.
-
void
ReleaseClaim
()¶ Releases this landing zone’s claim
-
string
ToString
()¶
-
static HelicopterLandingZone
GetClosestUnclaimed
(Vector3 position)¶ Gets the closest helicopter landing zone to the target position Does not return any claimed landing zones.
-
HelicopterLandingZone