surfaceTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<br><br> {{Feature" to "{{Feature")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "|r1=$1 |x1=")
Line 13: Line 13:
|p1= position: [[Array]] - in format [[Position2D]] or [[Position3D]] in which case Z is ignored
|p1= position: [[Array]] - in format [[Position2D]] or [[Position3D]] in which case Z is ignored


| [[String]]
|r1= [[String]]


|x1= <code>_tex = [[surfaceTexture]] [[getPos]] [[player]];</code>
|x1= <code>_tex = [[surfaceTexture]] [[getPos]] [[player]];</code>

Revision as of 15:03, 10 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:
String

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