synchronizeWaypoint trigger: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 8: | Line 7: | ||
|gr1= Waypoints |GROUP1= | |gr1= Waypoints |GROUP1= | ||
|gr2= Triggers |GROUP2= | |gr2= Triggers |GROUP2= | ||
| Synchronizes a trigger with other waypoints. Each waypoint is given as an array [group, index]. |DESCRIPTION= | | Synchronizes a trigger with other waypoints. Each waypoint is given as an array [group, index]. |DESCRIPTION= | ||
| trigger '''synchronizeWaypoint''' [waypoint1, waypoint2, ...] |SYNTAX= | | trigger '''synchronizeWaypoint''' [waypoint1, waypoint2, ...] |SYNTAX= | ||
Line 21: | Line 18: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_myTrigger [[synchronizeWaypoint]] [ [_group2, 3] ];</code> |EXAMPLE1= | |x1= <code>_myTrigger [[synchronizeWaypoint]] [ [_group2, 3] ];</code> |EXAMPLE1= | ||
| [[createTrigger]], [[synchronizeTrigger]] |SEEALSO= | | [[createTrigger]], [[synchronizeTrigger]] |SEEALSO= |
Revision as of 03:44, 17 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