setWaypointHousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added SEEALSO)
m (template:command argument fix)
(11 intermediate revisions by 7 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| For waypoints attached to a house, this defines the target house position. |= Description
| For waypoints attached to a house, this defines the target [[buildingPos]] index. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| waypoint '''setWaypointHousePosition''' pos |= Syntax
| waypoint '''setWaypointHousePosition''' pos |SYNTAX=


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


|p2= pos: [[Number]] |= Parameter 2
|p2= pos: [[Number]] - [[buildingPos]] index|PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[_grp, 2] setWaypointHousePosition 1</pre> |= Example 1
|x1= <code>[_grp, 2] [[setWaypointHousePosition]] 1;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addWaypoint]] |= See also
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]], [[buildingPos]] |SEEALSO=


}}
}}
Line 39: Line 39:
[[Category:Command_Group:_Waypoints|SETWAYPOINTHOUSEPOSITION]]
[[Category:Command_Group:_Waypoints|SETWAYPOINTHOUSEPOSITION]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:48, 7 April 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
For waypoints attached to a house, this defines the target buildingPos index.
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointHousePosition pos
Parameters:
waypoint: Array - format Waypoint
pos: Number - buildingPos index
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] setWaypointHousePosition 1;

Additional Information

See also:
waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeedbuildingPos

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

Notes

Bottom Section