setWaypointHousePosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) 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= ") |
Lou Montana (talk | contribs) 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 | |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= < | |x1= <sqf>[_grp, 2] setWaypointHousePosition 1;</sqf> | ||
|seealso= [[waypoints]] | |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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Waypoints