synchronizeWaypoint trigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|[A-Z #]*\]\]" to " ")
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|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= Waypoints |GROUP1=
|gr1= Waypoints
|gr2= Triggers |GROUP2=
|gr2= Triggers


| 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].


| trigger '''synchronizeWaypoint''' [waypoint1, waypoint2, ...] |SYNTAX=
| trigger '''synchronizeWaypoint''' [waypoint1, waypoint2, ...]


|p1= trigger: [[Object]] |PARAMETER1=
|p1= trigger: [[Object]]
|p2= [waypoint1, waypoint2, ...]: [[Array]] of waypoints |PARAMETER2=
|p2= [waypoint1, waypoint2, ...]: [[Array]] of waypoints
|p3= waypoint1: [[Array]] - format [[Waypoint]] |PARAMETER3=
|p3= waypoint1: [[Array]] - format [[Waypoint]]
|p4= waypoint2: [[Array]] - format [[Waypoint]] |PARAMETER4=
|p4= waypoint2: [[Array]] - format [[Waypoint]]


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


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


}}
}}

Revision as of 11:25, 18 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

Bottom Section