copyWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(52 intermediate revisions by 2 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


|gr1= Waypoints |=GROUP1
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| Copy the chain of waypoints from source to target group. The target group will start to process waypoints from the first one. |DESCRIPTION=
|game4= arma3
____________________________________________________________________________________________
|version4= 0.50


| groupTo '''copyWaypoints''' groupFrom |SYNTAX=
|gr1= Waypoints


|p1= groupTo: [[Group]] |PARAMETER1=  
|descr= Copy the chain of waypoints from source to target group. The target group will start to process waypoints from the first one.


|p2= groupFrom: [[Group]] |PARAMETER2=
|s1= groupTo [[copyWaypoints]] groupFrom


|p3= |PARAMETER3=  
|p1= groupTo: [[Group]]


| [[Nothing]] |RETURNVALUE=
|p2= groupFrom: [[Group]]


|r1= [[Nothing]]


|x1= <code>group1 copyWaypoints group2;
|x1= <sqf>group1 copyWaypoints group2;</sqf>
</code>|EXAMPLE1=


____________________________________________________________________________________________
|seealso= [[waypoints]] [[deleteWaypoint]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointDescription]] [[setWaypointFormation]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointSpeed]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointSpeed]]
 
| [[waypoints]], [[deleteWaypoint]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:04, 13 May 2022

Hover & click on the images for description

Description

Description:
Copy the chain of waypoints from source to target group. The target group will start to process waypoints from the first one.
Groups:
Waypoints

Syntax

Syntax:
groupTo copyWaypoints groupFrom
Parameters:
groupTo: Group
groupFrom: Group
Return Value:
Nothing

Examples

Example 1:
group1 copyWaypoints group2;

Additional Information

See also:
waypoints deleteWaypoint setCurrentWaypoint setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointFormation setWaypointHousePosition setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible waypointAttachVehicle waypointAttachedVehicle setWaypointLoiterRadius waypointLoiterRadius addWaypoint setWaypointLoiterType waypointSpeed

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