waypointHousePosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
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: [[Array]] - format [[Waypoint]]
Line 23: Line 23:
|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 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