synchronizeTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
m (Some wiki formatting)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= Triggers
|gr1= Triggers
Line 9: 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.


| trigger '''synchronizeTrigger''' [waypoint1, waypoint2, ...]
|s1= trigger [[synchronizeTrigger]] waypoints


|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.
|p3= waypoint1: [[Waypoint]] - first waypoint
|p4= waypoint2: [[Waypoint]] - second waypoint


| [[Nothing]]
|p2= waypoints: [[Array]] of [[Waypoint]]s - waypoints to synchronize with trigger. Array can be empty to unset


|x1= <code>_trigger synchronizeTrigger []</code>
|r1= [[Nothing]]
|x2= <code>_trigger synchronizeTrigger [_waypoint1]</code>
|x3= <code>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3]</code>


| [[createTrigger]], [[synchronizeWaypoint]]
|x1= <sqf>_trigger synchronizeTrigger [];</sqf>


|
|x2= <sqf>_trigger synchronizeTrigger [_waypoint1];</sqf>
}}


|x3= <sqf>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3];</sqf>


{{GameCategory|arma2|Scripting Commands}}
|seealso= [[createTrigger]] [[synchronizeWaypoint]]
{{GameCategory|arma3|Scripting Commands}}
}}

Latest revision as of 23:38, 4 September 2022

Hover & click on the images for description

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