surfaceTexture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{uc:{{PAGENAME}}}} " to "") |
Lou Montana (talk | contribs) 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. | | 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 20:36, 9 June 2021
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