roadAt: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns road segment at given position, [[objNull]] otherwise. Same as [[isOnRoad]] only returns the actual road object instead of boolean. |= | | Returns road segment at given position, [[objNull]] otherwise. Same as [[isOnRoad]] only returns the actual road object instead of boolean. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''roadAt''' position |= | | '''roadAt''' position |SYNTAX= | ||
|p1= position: [[Object]] or [[Array]] in format [[PositionAGL]] (especially on bridges) |PARAMETER1= | |p1= position: [[Object]] or [[Array]] in format [[PositionAGL]] (especially on bridges) |PARAMETER1= |
Revision as of 14:45, 7 April 2019
Description
- Description:
- Returns road segment at given position, objNull otherwise. Same as isOnRoad only returns the actual road object instead of boolean.
- Groups:
- Uncategorised
Syntax
- Syntax:
- roadAt position
- Parameters:
- position: Object or Array in format PositionAGL (especially on bridges)
- Return Value:
- Object - road segment or objNull
Examples
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
[[Category:Introduced with A3 version 1.58]][[ Category: A3: New Scripting Commands | ROADAT]][[ Category: A3: Scripting Commands | ROADAT]]