surfaceType: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[String]] <nowiki>=</nowiki> '''surfaceType''' [ | | [[String]] <nowiki>=</nowiki> '''surfaceType''' [x, y] |= Syntax | ||
|p1= [[ | |p1= [x, y]: [[Array]] - format [[Position2D]] |= Parameter 1 | ||
| [[String]] |= Return value | | [[String]] |= Return value |
Revision as of 00:30, 26 January 2009
Description
- Description:
- Returns what surface is at the given position.
- Groups:
- Uncategorised
Syntax
- Syntax:
- String = surfaceType [x, y]
- Parameters:
- [x, y]: Array - format Position2D
- Return Value:
- String
Examples
- Examples:
- Example needed
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
- Posted on December 16, 2006 - 23:45
- Kronzky
- Only seems to return either "#GRASSSOUTH" or "#GRASSGENERAL", even when you're in a building or in water.
- Posted on December 30, 2006 - 16:12
- VictorF
- Another returned value is "#SANDGENERAL". However, when providing an exact [x,y] position the "surfaceType" function seems to return the general surface type of the environment rather than the exact type on that given position.