synchronizeTrigger: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
Line 17: | Line 17: | ||
|gr2= Waypoints | |gr2= Waypoints | ||
| [[ArmA:_Mission_Editor#Synchronize_Mode_.28F5.29|Synchronizes]] the trigger with zero or more waypoints. | |descr= [[ArmA:_Mission_Editor#Synchronize_Mode_.28F5.29|Synchronizes]] the trigger with zero or more waypoints. | ||
|s1= | |s1= trigger [[synchronizeTrigger]] waypoints | ||
|p1= trigger: [[Object]] - trigger to synchronize | |p1= trigger: [[Object]] - trigger to synchronize | ||
|p2= | |||
|p2= waypoints: [[Array]] of [[Waypoint]]s - waypoints to synchronize with trigger. Array can be empty to unset | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_trigger synchronizeTrigger [];</sqf> | ||
|x2= < | |||
|x3= < | |x2= <sqf>_trigger synchronizeTrigger [_waypoint1];</sqf> | ||
|x3= <sqf>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3];</sqf> | |||
|seealso= [[createTrigger]] | |seealso= [[createTrigger]] [[synchronizeWaypoint]] | ||
}} | }} | ||
Latest revision as of 22:38, 4 September 2022
Description
- Description:
- Synchronizes the trigger with zero or more waypoints.
- Groups:
- TriggersWaypoints
Syntax
- Syntax:
- trigger synchronizeTrigger waypoints
- Parameters:
- trigger: Object - trigger to synchronize
- waypoints: Array of Waypoints - waypoints to synchronize with trigger. Array can be empty to unset
- 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:
- createTrigger synchronizeWaypoint
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