synchronizeTrigger: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" 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 | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Triggers | |gr1= Triggers | ||
|gr2= Waypoints | |gr2= Waypoints | ||
| [[ArmA:_Mission_Editor#Synchronize_Mode_.28F5.29|Synchronizes]] the trigger with zero or more waypoints. | | [[ArmA:_Mission_Editor#Synchronize_Mode_.28F5.29|Synchronizes]] the trigger with zero or more waypoints. | ||
| trigger '''synchronizeTrigger''' [waypoint1, waypoint2, ...] | | trigger '''synchronizeTrigger''' [waypoint1, waypoint2, ...] | ||
|p1= trigger: [[Object]] - trigger to synchronize | |p1= trigger: [[Object]] - trigger to synchronize | ||
|p2= [waypoint1, waypoint2, ...]: [[Array]] of waypoints to synchronize with trigger. Array can be empty to unset. | |p2= [waypoint1, waypoint2, ...]: [[Array]] of waypoints to synchronize with trigger. Array can be empty to unset. | ||
|p3= waypoint1: [[Waypoint]] - first waypoint | |p3= waypoint1: [[Waypoint]] - first waypoint | ||
|p4= waypoint2: [[Waypoint]] - second waypoint | |p4= waypoint2: [[Waypoint]] - second waypoint | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_trigger synchronizeTrigger []</code> | |x1= <code>_trigger synchronizeTrigger []</code> | ||
|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 11:26, 18 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