surfaceType

From Bohemia Interactive Community
Revision as of 15:15, 30 December 2006 by VictorF (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns what surface is at the given position.
Groups:
Uncategorised

Syntax

Syntax:
surfaceType [x, y]
Parameters:
[x, y]: Array
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
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.
VictorF
I mistakenly deleted the first note also documenting "#GRASSSOUTH" and "#GRASSGENERAL" as return values. I apologize, please feel free to add this again with the original user name!

Bottom Section