triggerAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 9: | Line 9: | ||
|gr1= Triggers | |gr1= Triggers | ||
|Specifies the entity which will activate the selected trigger.<br> | |descr=Specifies the entity which will activate the selected trigger.<br> | ||
*If '''[]''' is given, the trigger is decoupled from the assigned vehicle (example 2). | *If '''[]''' is given, the trigger is decoupled from the assigned vehicle (example 2). | ||
*If the activation source is '''"VEHICLE"''', '''"GROUP"''', '''"LEADER"''' or '''"MEMBER"''', it is changed to '''"NONE"'''. | *If the activation source is '''"VEHICLE"''', '''"GROUP"''', '''"LEADER"''' or '''"MEMBER"''', it is changed to '''"NONE"'''. |
Revision as of 21:27, 13 June 2021
Description
- Description:
- Specifies the entity which will activate the selected trigger.
- If [] is given, the trigger is decoupled from the assigned vehicle (example 2).
- If the activation source is "VEHICLE", "GROUP", "LEADER" or "MEMBER", it is changed to "NONE".
- If [vehicle] is given, the trigger is coupled to the vehicle or its group.
- When the source is "GROUP", "LEADER" or "MEMBER", it is coupled to the group, otherwise it is coupled to the vehicle and the source is changed to "VEHICLE".
- Groups:
- Triggers
Syntax
- Syntax:
- triggerName triggerAttachVehicle objects
- Parameters:
- triggerName: Object
- objects: Array
- Return Value:
- Nothing
Examples
- Example 1:
trigger triggerAttachVehicle [player];
- Example 2:
trigger triggerAttachVehicle [];
Additional Information
- See also:
- attachObjectattachToattachedObjectsattachedTowaypointAttachVehiclewaypointAttachedVehiclelightAttachObjectattachedObjecttriggerAttachedVehicletriggerAttachObjecttriggerIntervalsetTriggerInterval
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note