synchronizeTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - " {3,}\|" to " |")
Line 23: Line 23:
|x2= <code>_trigger synchronizeTrigger [_waypoint1]</code>
|x2= <code>_trigger synchronizeTrigger [_waypoint1]</code>
|x3= <code>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3]</code>
|x3= <code>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3]</code>


| [[createTrigger]], [[synchronizeWaypoint]]
| [[createTrigger]], [[synchronizeWaypoint]]

Revision as of 18:15, 18 January 2021

Hover & click on the images for description

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