Arma3 - Triggers: Difference between revisions

From ScottWiki
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:14, 15 December 2022

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;