surfaceTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "<br><br> {{Feature" to "{{Feature")
Line 7: Line 7:
|gr1= Positions
|gr1= Positions


| 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. {{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}}
{{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 21:36, 9 June 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:
surfaceTypegetRoadInfo

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