synchronizeWaypoint: Difference between revisions

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


| arma |= Game name
|game1= ofpe
|version1= 1.00


|1.00|= Game version
|game2= arma1
____________________________________________________________________________________________
|version2= 1.00


| Synchronizes the waypoint with other waypoints. Each waypoint is given as an array [group, index]. |= Description
|game3= arma2
____________________________________________________________________________________________
|version3= 1.00


| waypoint '''synchronizeWaypoint''' [waypoint1, waypoint2, ...] |= Syntax
|game4= arma2oa
|version4= 1.50


|p1= waypoint: [[Array]] |= Parameter 1
|game5= tkoh
|version5= 1.00


|p2= [waypoint1, waypoint2, ...]: [[Array]] |= Parameter 2
|game6= arma3
|version6= 0.50


| [[Nothing]] |= Return value
|gr1= Waypoints
____________________________________________________________________________________________
 
|x1= <pre>[group1, 2] synchronizeWaypoint [ [group2, 3] ]</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|gr2= Triggers


|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
|r1= [[Nothing]]
|x1= <sqf>_myTrigger synchronizeWaypoint [[_group2, 3]];</sqf>
|x2= <sqf>[_group1, 2] synchronizeWaypoint [[_group2, 3]];</sqf>
|seealso= [[synchronizedWaypoints]] [[createTrigger]] [[synchronizeTrigger]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- 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]]
[[Category:Scripting Commands OFP Elite |SYNCHRONIZEWAYPOINT]]
[[Category:Scripting Commands ArmA|SYNCHRONIZEWAYPOINT]]
[[Category:Command_Group:_Waypoints]]

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