synchronizeTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Some wiki formatting)
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| [[ArmA:_Mission_Editor#Synchronize_Mode_.28F5.29|Synchronizes]] the trigger with zero or more waypoints. |DESCRIPTION=
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| trigger '''synchronizeTrigger''' [waypoint1, waypoint2, ...] |SYNTAX=
|game4= arma3
|version4= 0.50


|p1= trigger: [[Object]] - trigger to synchronize |PARAMETER1=
|gr1= Triggers
|p2= [waypoint1, waypoint2, ...]: [[Array]] of waypoints to synchronize with trigger. Array can be empty to unset. |PARAMETER2=
|p3= waypoint1: [[Waypoint]] - first waypoint |PARAMETER3=
|p4= waypoint2: [[Waypoint]] - second waypoint |PARAMETER4=


| [[Nothing]] |RETURNVALUE=
|gr2= Waypoints


|x1= <code>_trigger synchronizeTrigger []</code> |EXAMPLE1=
|descr= [[ArmA:_Mission_Editor#Synchronize_Mode_.28F5.29|Synchronizes]] the trigger with zero or more waypoints.
|x2= <code>_trigger synchronizeTrigger [_waypoint1]</code> |EXAMPLE2=
|x3= <code>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3]</code> |EXAMPLE3=


____________________________________________________________________________________________
|s1= trigger [[synchronizeTrigger]] waypoints


| [[createTrigger]], [[synchronizeWaypoint]] |SEEALSO=
|p1= trigger: [[Object]] - trigger to synchronize


| |MPBEHAVIOUR=  
|p2= waypoints: [[Array]] of [[Waypoint]]s - waypoints to synchronize with trigger. Array can be empty to unset
____________________________________________________________________________________________
 
}}
|r1= [[Nothing]]
 
|x1= <sqf>_trigger synchronizeTrigger [];</sqf>


<h3 style='display:none'>Notes</h3>
|x2= <sqf>_trigger synchronizeTrigger [_waypoint1];</sqf>
<dl class='command_description'>
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x3= <sqf>_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3];</sqf>
</dl>


<h3 style='display:none'>Bottom Section</h3>
|seealso= [[createTrigger]] [[synchronizeWaypoint]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Activators|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:38, 4 September 2022

Hover & click on the images for description

Description

Description:
Synchronizes the trigger with zero or more waypoints.
Groups:
TriggersWaypoints

Syntax

Syntax:
trigger synchronizeTrigger waypoints
Parameters:
trigger: Object - trigger to synchronize
waypoints: Array of Waypoints - waypoints to synchronize with trigger. Array can be empty to unset
Return Value:
Nothing

Examples

Example 1:
_trigger synchronizeTrigger [];
Example 2:
_trigger synchronizeTrigger [_waypoint1];
Example 3:
_trigger synchronizeTrigger [_waypoint1, [_group5, 7], _waypoint3];

Additional Information

See also:
createTrigger synchronizeWaypoint

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