From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Returns road info in format [mapType, width, isPedestrian, texture, textureEnd, material, begPos, endPos, isBridge]
- Groups:
- Roads and Airports
Syntax
- Syntax:
- getRoadInfo road
- Parameters:
- road: Object
- Return Value:
- Array in format [mapType, width, isPedestrian, texture, textureEnd, material, begPos, endPos, isBridge], where:
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
- See also:
- nearRoads roadsConnectedTo isOnRoad roadAt nearestTerrainObjects
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