surfaceTexture: 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 8: Line 8:


| Same as [[surfaceType]], but returns texture path to ground texture as string. <br><br>
| Same as [[surfaceType]], but returns texture path to ground texture as string. <br><br>
{{Informative | The texture returned is of the ground, even if there is a road at that position. To get road texture use [[getRoadInfo]] command}}
{{Feature | Informative | The texture returned is of the ground, even if there is a road at that position. To get road texture use [[getRoadInfo]] command}}


| [[surfaceTexture]] position
| [[surfaceTexture]] position

Revision as of 00:14, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Positions

Syntax

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

Examples

Example 1:
_tex = surfaceTexture getPos 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