synchronizeWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| \}\}" to " }}")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma1
|game1= ofpe
|version1= 1.00


|1.00
|game2= arma1
|version2= 1.00
 
|game3= arma2
|version3= 1.00
 
|game4= arma2oa
|version4= 1.50
 
|game5= tkoh
|version5= 1.00
 
|game6= arma3
|version6= 0.50


|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 [[Waypoint]] - can be:
* [[Object]] - [[Trigger|trigger]]
* [[Waypoint]] - [[Array]] in format of [[Waypoint]]
|p2= waypoints: [[Array]] of [[Waypoint]]s


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


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


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


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


<!-- Note Section END -->
<dt><dt>
<dd class="notedate">Posted on 2008-03-31 - 23:41</dd>
<dt class="note">[[User:Master85|Master85]]</dd>
<dd class="note">
To 'unsynchronize' a waypoint use: [[Waypoint]] [[synchronizeWaypoint]] []
</dd>
 
</dl>
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SYNCHRONIZEWAYPOINT]]
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 15:00, 8 November 2023

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 Waypoint - 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:
synchronizedWaypoints createTrigger synchronizeTrigger

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