Module Functional.Protect

Functional -- The PROTECT class handles the protection of objects, which can be zones, units, scenery.


Author: FlightControl

Contributions: MillerTime


Global(s)

Global PROTECT

PROTECT, extends Core.Base#BASE

#PROTECT PROTECT

PROTECT, extends Core.Base#BASE

Type(s)

Extends #PROTECT.__

Function(s)

Check if the statics are still alive.

Check if the units are still alive.

Flare.

Parameter:

Get the owning coalition of the zone.

Return value:

DCSCoalition.DCSCoalition#coalition: Coalition.

Get the owning coalition name of the zone.

Return value:

string:

Coalition name.

Get the ProtectZone

Return value:

Core.Zone#ZONE_BASE:

Get the name of the ProtectZone

Return value:

string:

Check if there is a capture unit in the zone.

Set the owning coalition of the zone.

Smoke.

Parameter:

Check status Coalition ownership.

Check status Smoke.

Check status Zone.