synchronizeTrigger: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)?\]\]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 9: | Line 8: | ||
|gr2= Waypoints |GROUP2= | |gr2= Waypoints |GROUP2= | ||
| [[ArmA:_Mission_Editor#Synchronize_Mode_.28F5.29|Synchronizes]] the trigger with zero or more waypoints. |DESCRIPTION= | | [[ArmA:_Mission_Editor#Synchronize_Mode_.28F5.29|Synchronizes]] the trigger with zero or more waypoints. |DESCRIPTION= | ||
| trigger '''synchronizeTrigger''' [waypoint1, waypoint2, ...] |SYNTAX= | | trigger '''synchronizeTrigger''' [waypoint1, waypoint2, ...] |SYNTAX= | ||
Line 27: | Line 24: | ||
|x3= <code>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3]</code> |EXAMPLE3= | |x3= <code>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3]</code> |EXAMPLE3= | ||
| [[createTrigger]], [[synchronizeWaypoint]] |SEEALSO= | | [[createTrigger]], [[synchronizeWaypoint]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 03:46, 17 January 2021
Description
- Description:
- Synchronizes the trigger with zero or more waypoints.
- Groups:
- TriggersWaypoints
Syntax
- Syntax:
- trigger synchronizeTrigger [waypoint1, waypoint2, ...]
- Parameters:
- trigger: Object - trigger to synchronize
- [waypoint1, waypoint2, ...]: Array of waypoints to synchronize with trigger. Array can be empty to unset.
- waypoint1: Waypoint - first waypoint
- waypoint2: Waypoint - second waypoint
- Return Value:
- Nothing
Examples
- Example 1:
_trigger synchronizeTrigger []
- Example 2:
_trigger synchronizeTrigger [_waypoint1]
- Example 3:
_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3]
Additional Information
- See also:
- createTriggersynchronizeWaypoint
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