synchronizeWaypoint trigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 8: Line 7:
|gr1= Waypoints |GROUP1=
|gr1= Waypoints |GROUP1=
|gr2= Triggers |GROUP2=
|gr2= Triggers |GROUP2=
____________________________________________________________________________________________


| Synchronizes a trigger with other waypoints. Each waypoint is given as an array [group, index]. |DESCRIPTION=
| Synchronizes a trigger with other waypoints. Each waypoint is given as an array [group, index]. |DESCRIPTION=
____________________________________________________________________________________________


| trigger '''synchronizeWaypoint''' [waypoint1, waypoint2, ...] |SYNTAX=
| trigger '''synchronizeWaypoint''' [waypoint1, waypoint2, ...] |SYNTAX=
Line 21: Line 18:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_myTrigger [[synchronizeWaypoint]] [ [_group2, 3] ];</code> |EXAMPLE1=
|x1= <code>_myTrigger [[synchronizeWaypoint]] [ [_group2, 3] ];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[createTrigger]], [[synchronizeTrigger]] |SEEALSO=
| [[createTrigger]], [[synchronizeTrigger]] |SEEALSO=

Revision as of 04:44, 17 January 2021

Hover & click on the images for description

Description

Description:
Synchronizes a trigger with other waypoints. Each waypoint is given as an array [group, index].
Groups:
WaypointsTriggers

Syntax

Syntax:
trigger synchronizeWaypoint [waypoint1, waypoint2, ...]
Parameters:
trigger: Object
[waypoint1, waypoint2, ...]: Array of waypoints
waypoint1: Array - format Waypoint
waypoint2: Array - format Waypoint
Return Value:
Nothing

Examples

Example 1:
_myTrigger synchronizeWaypoint [ [_group2, 3] ];

Additional Information

See also:
createTriggersynchronizeTrigger

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

Notes

Bottom Section