getRoadInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 31: | Line 31: | ||
[[private]] _dir = (_info [[select]] 6) [[getDir]] (_info [[select]] 7);</code> | [[private]] _dir = (_info [[select]] 6) [[getDir]] (_info [[select]] 7);</code> | ||
| [[nearRoads]] [[roadsConnectedTo]] [[isOnRoad]] [[roadAt]] [[nearestTerrainObjects]] | |seealso= [[nearRoads]] [[roadsConnectedTo]] [[isOnRoad]] [[roadAt]] [[nearestTerrainObjects]] | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} |
Revision as of 23:47, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- Roads and Airports
Syntax
- Syntax:
- Syntax needed
- Parameters:
- road: Object
- Return Value:
- Return value needed
Examples
- Example 1:
getRoadInfo _road
- Example 2:
- Get direction of the road segment:
private _info = getRoadInfo _road; private _dir = (_info select 6) getDir (_info select 7);
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