getWPPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#))?\]\] " to "") |
||
Line 31: | Line 31: | ||
[[Category:Scripting Commands OFP 1.96|GETWPPOS]] | [[Category:Scripting Commands OFP 1.96|GETWPPOS]] | ||
[[Category:Scripting Commands OFP 1.46|GETWPPOS]] | [[Category:Scripting Commands OFP 1.46|GETWPPOS]] |
Revision as of 23:21, 24 March 2021
Description
- Description:
- Description needed
- Groups:
- Waypoints
Syntax
- Syntax:
- Syntax needed
- Parameters:
- [group, index]: Array
- group: Group - the group/unit, of which you want to select a waypoint
- index: Number - 0 equals the starting position of the group.
The number used in this and other waypoint commands is one more than the one displayed in the waypoint window in the editor. (i.e. if the editor labeled a WP "0:MOVE" the you would have to use getWPPos [grp,1] to access this particular WP) - Return Value:
- Return value needed
Examples
Additional Information
- See also:
- setWPPos
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