waypointHousePosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
(8 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 15: | Line 15: | ||
|gr1= Waypoints | |gr1= Waypoints | ||
| Returns [[buildingPos]] index assigned to the waypoint. | |descr= Returns [[buildingPos]] index assigned to the waypoint. | ||
|s1= | |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= < | |x1= <sqf>waypointHousePosition [groupOne,1];</sqf> | ||
|seealso= [[waypoints]] | |seealso= [[waypoints]] [[waypointPosition]] [[setWaypointHousePosition]] [[buildingPos]] | ||
}} | }} | ||
Latest revision as of 13:20, 5 May 2022
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
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