synchronizeWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1


|1.00
|version1= 1.00


|gr1= Waypoints
|gr1= Waypoints
|gr2= Triggers
|gr2= Triggers


| Synchronizes the waypoint with other waypoints. Each waypoint is given as an array [group, index].
|descr= Synchronizes the trigger or the waypoint with an array of waypoints.
 
|s1= triggerOrWaypoint [[synchronizeWaypoint]] waypoints
 
|p1= triggerOrWaypoint: [[Object]] or [[Array]]. Can be:
* [[Object]] - [[trigger]]
* [[Array]] - format [[Waypoint]]
|p2= waypoints: [[Array]] of [[Waypoint]]s


| waypoint '''synchronizeWaypoint''' [waypoint1, waypoint2, ...]
|r1= [[Nothing]]


|p1= waypoint: [[Array]] - format [[Waypoint]]
|x1= <code>_myTrigger [[synchronizeWaypoint]] [<nowiki/>[_group2, 3]];</code>
|p2= [waypoint1, waypoint2, ...]: [[Array]] of waypoints
|p3= waypoint1: [[Array]] - format [[Waypoint]]
|p4= waypoint2: [[Array]] - format [[Waypoint]]


| [[Nothing]]
|x2= <code>[_group1, 2] [[synchronizeWaypoint]] [<nowiki/>[_group2, 3]];</code>
 
 
|x1= <code>[_group1, 2] [[synchronizeWaypoint]] [ [_group2, 3] ];</code>
|seealso= [[synchronizedWaypoints]], [[createTrigger]], [[synchronizeTrigger]]
}}
}}


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on March 31, 2008 - 23:41</dd>
<dd class="notedate">Posted on March 31, 2008 - 23:41</dd>
<dt class="note">[[User:Master85|Master85]]<dd class="note"><br>
<dt class="note">[[User:Master85|Master85]]</dd>
To 'unsynchronize' a waypoint use: [[Waypoint]] '''synchronizeWaypoint''' []<br>
<dd class="note">
To 'unsynchronize' a waypoint use: [[Waypoint]] [[synchronizeWaypoint]] []
</dd>


<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>


[[Category:Scripting Commands|SYNCHRONIZEWAYPOINT]]
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 01:08, 31 January 2021

Hover & click on the images for description

Description

Description:
Synchronizes the trigger or the waypoint with an array of waypoints.
Groups:
WaypointsTriggers

Syntax

Syntax:
triggerOrWaypoint synchronizeWaypoint waypoints
Parameters:
triggerOrWaypoint: Object or Array. Can be:
waypoints: Array of Waypoints
Return Value:
Nothing

Examples

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

Additional Information

See also:
synchronizedWaypointscreateTriggersynchronizeTrigger

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
Posted on March 31, 2008 - 23:41
Master85
To 'unsynchronize' a waypoint use: Waypoint synchronizeWaypoint []