surfaceType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 9: Line 9:
| Returns what surface type is at the given position. For surface texture see [[surfaceTexture]] command.<br>
| Returns what surface type is at the given position. For surface texture see [[surfaceTexture]] command.<br>
<br>
<br>
{{Informative | The command returns surface type of the ground, even underneath objects such as buildings and roads}}
{{Feature | Informative | The command returns surface type of the ground, even underneath objects such as buildings and roads}}
<spoiler text="Show surface types (ArmA)">
<spoiler text="Show surface types (ArmA)">
* #GRASSSOUTH
* #GRASSSOUTH

Revision as of 00:12, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Positions

Syntax

Syntax:
Syntax needed
Parameters:
position: Array - format Position2D or Position3D in which case Z will be ignored
Return Value:
Return value needed

Examples

Example 1:
private _surface = surfaceType [4500, 4500];
Example 2:
hint surfaceType position player;

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