copyWaypoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
 
(58 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


| Copy the chain of waypoints from source to target group. The target group will start to process waypoints from the first one. |DESCRIPTION=
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| groupTo '''copyWaypoints''' groupFrom |SYNTAX=
|game4= arma3
|version4= 0.50


|p1= groupTo: [[Group]] |PARAMETER1=  
|gr1= Waypoints


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


|p3= |PARAMETER3=  
|s1= groupTo [[copyWaypoints]] groupFrom


| [[Nothing]] |RETURNVALUE=
|p1= groupTo: [[Group]]


|p2= groupFrom: [[Group]]


|x1= <code>group1 copyWaypoints group2;
|r1= [[Nothing]]
</code>|EXAMPLE1=  


____________________________________________________________________________________________
|x1= <sqf>group1 copyWaypoints group2;</sqf>


| [[waypoints]], [[deleteWaypoint]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |SEEALSO=
|seealso= [[waypoints]] [[deleteWaypoint]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointDescription]] [[setWaypointFormation]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointSpeed]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointSpeed]]
 
|  |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:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{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 12: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