setWaypointHousePosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *ofpe * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= ofpe |version1= $1 |game2") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(28 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= | |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