Arma3 - Triggers

From ScottWiki
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;