setWaypointHousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|[A-Z #]*\]\]" to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= Waypoints |GROUP1=
|gr1= Waypoints


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


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


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


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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>[_grp, 2] [[setWaypointHousePosition]] 1;</code> |EXAMPLE1=
|x1= <code>[_grp, 2] [[setWaypointHousePosition]] 1;</code>


| [[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=
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]], [[buildingPos]]


}}
}}

Revision as of 12:26, 18 January 2021

Hover & click on the images for description

Description

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

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