isOnRoad: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Tankbuster (talk | contribs) No edit summary |
||
Line 41: | Line 41: | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on November 24, 2017 - 21:31 (UTC)</dd> | |||
<dt class="note">[[User:Tankbuster|Tankbuster]]</dt> | |||
<dd class="note"> | |||
Some roadobjects will return false when using this command. invisibleroadway_square_f.p3d is found by the nearRoads command, yet will return false for isOnRoad. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 22:31, 24 November 2017
Description
- Description:
- Checks if given position is on road. Same as roadAt, only return is boolean instead of road object.
- Groups:
- Uncategorised
Syntax
- Syntax:
- isOnRoad position
- Parameters:
- position: Object or Array in format PositionAGL (especially on bridges)
- Return Value:
- Boolean
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
Notes
Bottom Section
- Posted on November 24, 2017 - 21:31 (UTC)
- Tankbuster
- Some roadobjects will return false when using this command. invisibleroadway_square_f.p3d is found by the nearRoads command, yet will return false for isOnRoad.