synchronizeWaypoint: Difference between revisions

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


|game1= arma1
|game1= ofpe
|version1= 1.00
 
|game2= arma1
|version2= 1.00
 
|game3= arma2
|version3= 1.00


|version1= 1.00
|game4= arma2oa
|version4= 1.50
 
|game5= tkoh
|version5= 1.00
 
|game6= arma3
|version6= 0.50


|gr1= Waypoints
|gr1= Waypoints
Line 13: Line 27:
|s1= triggerOrWaypoint [[synchronizeWaypoint]] waypoints
|s1= triggerOrWaypoint [[synchronizeWaypoint]] waypoints


|p1= triggerOrWaypoint: [[Object]] or [[Array]]. Can be:
|p1= triggerOrWaypoint: [[Object]] or [[Waypoint]] - can be:
* [[Object]] - [[trigger]]
* [[Object]] - [[Trigger|trigger]]
* [[Array]] - format [[Waypoint]]
* [[Waypoint]] - [[Array]] in format of [[Waypoint]]
|p2= waypoints: [[Array]] of [[Waypoint]]s
|p2= waypoints: [[Array]] of [[Waypoint]]s


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_myTrigger [[synchronizeWaypoint]] [<nowiki/>[_group2, 3]];</code>
|x1= <sqf>_myTrigger synchronizeWaypoint [[_group2, 3]];</sqf>


|x2= <code>[_group1, 2] [[synchronizeWaypoint]] [<nowiki/>[_group2, 3]];</code>
|x2= <sqf>[_group1, 2] synchronizeWaypoint [[_group2, 3]];</sqf>


|seealso= [[synchronizedWaypoints]], [[createTrigger]], [[synchronizeTrigger]]
|seealso= [[synchronizedWaypoints]] [[createTrigger]] [[synchronizeTrigger]]
}}
}}


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on March 31, 2008 - 23:41</dd>
<dt><dt>
<dd class="notedate">Posted on 2008-03-31 - 23:41</dd>
<dt class="note">[[User:Master85|Master85]]</dd>
<dt class="note">[[User:Master85|Master85]]</dd>
<dd class="note">
<dd class="note">
Line 36: Line 50:
</dd>
</dd>


<!-- Note Section END -->
</dl>
</dl>
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 14: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 []