surfaceType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 179: Line 179:
|x2= <code>[[hint]] [[surfaceType]] [[position]] [[player]];</code>
|x2= <code>[[hint]] [[surfaceType]] [[position]] [[player]];</code>


| [[surfaceTexture]], [[surfaceIsWater]], [[surfaceNormal]], [[getAllEnvSoundControllers]]
|seealso= [[surfaceTexture]], [[surfaceIsWater]], [[surfaceNormal]], [[getAllEnvSoundControllers]]
}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 01:07, 17 February 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:
Return value needed

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