synchronizeWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(60 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SYNCHRONIZEWAYPOINT]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |SYNCHRONIZEWAYPOINT]]
[[Category:Scripting Commands ArmA|SYNCHRONIZEWAYPOINT]]


|game1= ofpe
|version1= 1.00


<h2 style="color:#000066">'''''waypoint'' synchronizeWaypoint ''[waypoint1, waypoint2, ...]'''''</h2>
|game2= arma1
|version2= 1.00


|game3= arma2
|version3= 1.00


'''Operand types:'''
|game4= arma2oa
|version4= 1.50


'''waypoint:''' [[Array]]
|game5= tkoh
|version5= 1.00


'''[waypoint1, waypoint2, ...]:''' [[Array]]
|game6= arma3
|version6= 0.50


'''Type of returned value:'''
|gr1= Waypoints


[[Nothing]]
|gr2= Triggers


'''Compatibility:'''
|descr= Synchronizes the trigger or the waypoint with an array of waypoints.


Version 1.86 required.
|s1= triggerOrWaypoint [[synchronizeWaypoint]] waypoints


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


Synchronizes the waypoint with other waypoints.
|r1= [[Nothing]]


Each waypoint is given as an array [group, index].
|x1= <sqf>_myTrigger synchronizeWaypoint [[_group2, 3]];</sqf>


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


'''Example:'''
|seealso= [[synchronizedWaypoints]] [[createTrigger]] [[synchronizeTrigger]]
}}


[group1, 2] '''synchronizeWaypoint''' [ [group2, 3] ]
<dl class="command_description">
 
<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>

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