surfaceTexture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * \| +([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 2.00 | |||
| 2.00 | |||
|gr1= Positions | |gr1= Positions |
Revision as of 22:40, 13 June 2021
Description
- Description:
- Same as surfaceType, but returns texture path to ground texture as string.
- Groups:
- Positions
Syntax
- Syntax:
- surfaceTexture position
- 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