waypointHousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= Waypoints
|gr1= Waypoints


| Returns [[buildingPos]] index assigned to the waypoint.
|descr= Returns [[buildingPos]] index assigned to the waypoint.


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


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


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


| [[Number]] - [[buildingPos]] index
|x1= <sqf>waypointHousePosition [groupOne,1];</sqf>


|x1= <code>[[waypointHousePosition]] [groupOne,1]</code>
|seealso= [[waypoints]] [[waypointPosition]] [[setWaypointHousePosition]] [[buildingPos]]
 
| [[waypoints]], [[waypointPosition]], [[setWaypointHousePosition]], [[buildingPos]]
 
|
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:20, 5 May 2022

Hover & click on the images for description

Description

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

Syntax

Syntax:
waypointHousePosition waypoint
Parameters:
waypoint: Array - format 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 or on the Forums.
Only post proven facts here! Add Note