getRoadInfo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
||
Line 32: | Line 32: | ||
|seealso= [[nearRoads]] [[roadsConnectedTo]] [[isOnRoad]] [[roadAt]] [[nearestTerrainObjects]] | |seealso= [[nearRoads]] [[roadsConnectedTo]] [[isOnRoad]] [[roadAt]] [[nearestTerrainObjects]] | ||
}} | }} | ||
Revision as of 02:18, 13 June 2021
Description
- Description:
- Description needed
- Groups:
- Roads and Airports
Syntax
- Syntax:
- getRoadInfo road
- 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