surfaceType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "|r1=$1 |x1=")
Line 173: Line 173:
|p1= position: [[Array]] - format [[Position2D]] or [[Position3D]] in which case Z will be ignored
|p1= position: [[Array]] - format [[Position2D]] or [[Position3D]] in which case Z will be ignored


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


|x1= <code>[[private]] _surface = [[surfaceType]] [4500, 4500];</code>
|x1= <code>[[private]] _surface = [[surfaceType]] [4500, 4500];</code>

Revision as of 13:35, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Positions

Syntax

Syntax:
Syntax needed
Parameters:
position: Array - format Position2D or Position3D in which case Z will be ignored
Return Value:
String

Examples

Example 1:
private _surface = surfaceType [4500, 4500];
Example 2:
hint surfaceType position player;

Additional Information

See also:
surfaceTexturesurfaceIsWatersurfaceNormalgetAllEnvSoundControllers

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