武装突袭 Wiki
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Armed Assault
版本:
1.00

描述

描述:
Returns what surface type is at the given position.

基本句法

句法:
String = surfaceType position
参数:
position: Array - format Position2D or Position3D in which case Z will be ignored
返回值:
String

范例

范例1:
_surface = surfaceType [4500, 4500];
范例2:
_surface = surfaceType position player;

额外资讯

多人游戏:
-
也可以看看:
surfaceIsWatersurfaceNormal

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Posted on February 05, 2010 - 01:06
MaestrO.fr
In ArmA 2 returned value is "#UTGRASS" for natural surface and "#UTCONCRETE" for urban surface.
Posted on December 16, 2006 - 23:45
Kronzky
Only seems to return either "#GRASSSOUTH" or "#GRASSGENERAL", even when you're in a building or in water.
Posted on December 30, 2006 - 16:12
VictorF
Another returned value is "#SANDGENERAL". However, when providing an exact [x,y] position the "surfaceType" function seems to return the general surface type of the environment rather than the exact type on that given position.
Posted on 12 Sep 2014
ffur2007slx2_5
(A3 1.28) Surface types:
"#GdtStratisConcrete"
"#GdtStratisDryGrass"
"#GdtStratisGreenGrass"
"#GdtStratisRocky"
"#GdtStratisForestPine"
"#GdtStratisBeach"
"#GdtStratisDirt"
"#GdtVRsurface01"
"#GdtDirt"
"#GdtGrassGreen"
"#GdtGrassDry"
"#GdtSoil"
"#GdtThorn"
"#GdtStony"
"#GdtConcrete"
"#GdtMarsh"
"#GdtBeach"
"#GdtSeabed"
"#GdtDead"

Bottom Section

Advertisement