waypointHousePosition: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma2 |version1= $1 |game2")
mNo edit summary
 
(7 intermediate revisions by one other user not shown)
Line 17: Line 17:
|descr= Returns [[buildingPos]] index assigned to the waypoint.
|descr= Returns [[buildingPos]] index assigned to the waypoint.


|s1= '''waypointHousePosition''' waypoint
|s1= [[waypointHousePosition]] waypoint


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


|r1= [[Number]] - [[buildingPos]] index
|r1= [[Number]] - [[buildingPos]] index


|x1= <code>[[waypointHousePosition]] [groupOne,1]</code>
|x1= <sqf>waypointHousePosition [groupOne,1];</sqf>


|seealso= [[waypoints]], [[waypointPosition]], [[setWaypointHousePosition]], [[buildingPos]]
|seealso= [[waypoints]] [[waypointPosition]] [[setWaypointHousePosition]] [[buildingPos]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 02:58, 3 January 2026

Hover & click on the images for description

Description

Description:
Returns buildingPos index assigned to the waypoint.
Groups:
Waypoints

Syntax

Syntax:
waypointHousePosition waypoint
Parameters:
waypoint: Waypoint
Return Value:
Number - buildingPos index

Examples

Example 1:
waypointHousePosition [groupOne,1];

Additional Information

See also:
waypoints waypointPosition setWaypointHousePosition buildingPos

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note