waypointHousePosition: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
mNo edit summary
 
(6 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]]
}}
}}

Latest revision as of 01: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