isOnRoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
No edit summary
Line 12: Line 12:
| '''isOnRoad''' position or object |= Syntax
| '''isOnRoad''' position or object |= Syntax


|p1= position or object: [[Object or Array]] -  |= PARAMETER1  
|p1= position or object: [[Object]] or [[Array]] -  |= PARAMETER1  


|p2= |= PARAMETER2  
|p2= |= PARAMETER2  
Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>_ConeRoad <nowiki>=</nowiki> [[isOnRoad]] getPos cone1;</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 09:02, 25 August 2009

Hover & click on the images for description

Description

Description:
Check whether given position is on road.
Groups:
Uncategorised

Syntax

Syntax:
isOnRoad position or object
Parameters:
position or object: Object or Array -
Return Value:
Boolean

Examples

Example 1:
_ConeRoad = isOnRoad getPos cone1;

Additional Information

See also:
See also needed

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