Arma3 - Triggers

From Scottworld
Revision as of 19:57, 21 January 2019 by Wikiadmin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Trigger to Check if a specific Vehicle is Present

Vehicle variable is named "Hotel_1"

BLUFOR:Present
Condition:
this && ({ _x in thislist} count [Hotel_1] > 0)

Trigger to Explode a chopper

BLUFOR:Present
Condition:
this && ({ _x in thislist} count [Hotel_1] > 0)
Activation:
Hotel_1 setDamage 1;

Trigger to Delete a vehicle and its crew

BLUFOR:Present
Condition:
this && ({ _x in thislist} count [Hotel_1] > 0)
Activation:
{deleteVehicle _x} forEach crew Hotel_1 + [Hotel_1];
deleteVehicle Hotel_1;