HelicopterLandingZone

Constructors

Constructor

Description

HelicopterLandingZone()

Members

Member

Description

isClaimed

True while this landing zone is claimed

position

The position of this landing zone

Methods

Method

Description

Claim()

Marks this landing zone as claimed

ReleaseClaim()

Releases this landing zone’s claim

ToString()

Static methods

Method

Description

GetClosestUnclaimed(position)

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

const Vector3 position

The position of this landing zone

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 through squad.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.