triggerName triggerAttachVehicle [] or [vehicleName]
Operand types
triggerName:
Object[] or [vehicleName]:
Array
Type of returned value
Description
If [] is given, the trigger is detached from the assigned vehicle.
If the activation source is one of:
* "VEHICLE"
* "GROUP"
* "LEADER"
* "LEADER"
The activation source is changed to "NONE".
If [vehicle] is given, the trigger is attached to the vehicle or its group.
When the source is:
* "GROUP"
* "LEADER"
* "MEMBER"
It's attached to the group, otherwise it's attached to the vehicle and the source is changed to "VEHICLE".
Used In
ArmA
Example
trigger triggerAttachVehicle [player]