waypointAttachVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also formate)
m (minor fixes)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma |= Game name
| arma |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Attaches a [[Object#Unit|Unit]] to the given [[Waypoint]]. |= Description
| Attach a [[Waypoint]] to the given [[Object]]. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| waypoint '''waypointAttachVehicle''' vehicleName |= Syntax
| waypoint [[waypointAttachVehicle]] vehicleName |Syntax=


|p1= waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1
|p1= waypoint: [[Waypoint]] |Parameter 1=


|p2= vehicleName: [[Object]] |= Parameter 2
|p2= vehicleName: [[Object]] |Parameter 2=


| [[Nothing]] |= Return value
| [[Nothing]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[_grp, 2] [[waypointAttachVehicle]] [[vehicle]] [[player]]</code> |= Example 1
|x1= <code>[_grp, 2] [[waypointAttachVehicle]] [[vehicle]] [[player]];</code> |Example 1=


|x2= <code>[_grp, 2] [[waypointAttachVehicle]] _soldier1</code> |= Example 2
|x2= <code>(([[waypoints]] [[player]]) [[select]] 0) [[waypointAttachVehicle]] _soldier1;</code> |Example 2=


____________________________________________________________________________________________
____________________________________________________________________________________________


|  
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]], [[attachObject]], [[attachTo]], [[attachedObjects]], [[attachedTo]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]] |See also=
[[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]], [[attachObject]], [[attachTo]], [[attachedObjects]], [[attachedTo]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]] |= See also
 
}}
}}


Line 34: Line 32:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on June 19, 2010 - 09:44
<dd class="notedate">Posted on June 19, 2010 - 09:44
<dt class="note">'''[[User:Str|Str]]'''<dd class="note">You can attach waypoint only to vehicle inserted from classic editor. Trying to attach it to dynamically spawned ([[createUnit]], [[createVehicle]]) won't work. Engine will then try to find suitable target by itself, affecting game performance.
<dt class="note">[[User:Str|Str]]
<dd class="note">You can attach waypoint only to vehicle inserted from classic editor.
Trying to attach it to dynamically spawned ([[createUnit]], [[createVehicle]]) won't work.
Engine will then try to find suitable target by itself, affecting game performance.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>
Line 40: Line 41:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|WAYPOINTATTACHVEHICLE]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP Elite |WAYPOINTATTACHVEHICLE]]
[[Category:Scripting Commands OFP Elite|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|WAYPOINTATTACHVEHICLE]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]

Revision as of 09:58, 5 July 2018

Notes

Posted on June 19, 2010 - 09:44
Str
You can attach waypoint only to vehicle inserted from classic editor. Trying to attach it to dynamically spawned (createUnit, createVehicle) won't work. Engine will then try to find suitable target by itself, affecting game performance.

Bottom Section