synchronizeWaypoint trigger: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|[A-Z #]*\]\]" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Waypoints | |gr1= Waypoints | ||
|gr2= Triggers | |gr2= Triggers | ||
| Synchronizes a trigger with other waypoints. Each waypoint is given as an array [group, index]. | | Synchronizes a trigger with other waypoints. Each waypoint is given as an array [group, index]. | ||
| trigger '''synchronizeWaypoint''' [waypoint1, waypoint2, ...] | | trigger '''synchronizeWaypoint''' [waypoint1, waypoint2, ...] | ||
|p1= trigger: [[Object]] | |p1= trigger: [[Object]] | ||
|p2= [waypoint1, waypoint2, ...]: [[Array]] of waypoints | |p2= [waypoint1, waypoint2, ...]: [[Array]] of waypoints | ||
|p3= waypoint1: [[Array]] - format [[Waypoint]] | |p3= waypoint1: [[Array]] - format [[Waypoint]] | ||
|p4= waypoint2: [[Array]] - format [[Waypoint]] | |p4= waypoint2: [[Array]] - format [[Waypoint]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_myTrigger [[synchronizeWaypoint]] [ [_group2, 3] ];</code> | |x1= <code>_myTrigger [[synchronizeWaypoint]] [ [_group2, 3] ];</code> | ||
| [[createTrigger]], [[synchronizeTrigger]] | | [[createTrigger]], [[synchronizeTrigger]] | ||
}} | }} |
Revision as of 11:25, 18 January 2021
Description
- Description:
- Synchronizes a trigger with other waypoints. Each waypoint is given as an array [group, index].
- Groups:
- WaypointsTriggers
Syntax
- Syntax:
- trigger synchronizeWaypoint [waypoint1, waypoint2, ...]
- Parameters:
- trigger: Object
- [waypoint1, waypoint2, ...]: Array of waypoints
- waypoint1: Array - format Waypoint
- waypoint2: Array - format Waypoint
- Return Value:
- Nothing
Examples
- Example 1:
_myTrigger synchronizeWaypoint [ [_group2, 3] ];
Additional Information
- See also:
- createTriggersynchronizeTrigger
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