waypointHousePosition: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
mNo edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50


|gr1= Waypoints
|game3= tkoh
|version3= 1.00


| Returns [[buildingPos]] index assigned to the waypoint.
|game4= arma3
|version4= 0.50


| '''waypointHousePosition''' waypoint
|gr1= Waypoints


|p1= waypoint: [[Array]] - format [[Waypoint]]
|descr= Returns [[buildingPos]] index assigned to the waypoint.


|p2=
|s1= [[waypointHousePosition]] waypoint


|p3=
|p1= waypoint: [[Waypoint]]


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


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


|x1= <code>[[waypointHousePosition]] [groupOne,1]</code>
|seealso= [[waypoints]] [[waypointPosition]] [[setWaypointHousePosition]] [[buildingPos]]
 
 
| [[waypoints]], [[waypointPosition]], [[setWaypointHousePosition]], [[buildingPos]]
 
|
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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