setWaypointHousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(26 intermediate revisions by the same user not shown)
Line 23: Line 23:
|descr= For waypoints attached to a house, this defines the target [[buildingPos]] index.
|descr= For waypoints attached to a house, this defines the target [[buildingPos]] index.


|s1= waypoint '''setWaypointHousePosition''' pos
|s1= waypoint [[setWaypointHousePosition]] pos


|p1= waypoint: [[Array]] - format [[Waypoint]]
|p1= waypoint: [[Array]] - format [[Waypoint]]
Line 29: Line 29:
|p2= pos: [[Number]] - [[buildingPos]] index
|p2= pos: [[Number]] - [[buildingPos]] index


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>[_grp, 2] [[setWaypointHousePosition]] 1;</code>
|x1= <sqf>[_grp, 2] setWaypointHousePosition 1;</sqf>


|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]]
|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]]
}}
}}

Latest revision as of 10:24, 13 May 2022

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

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