|
发表于 2006-5-7 19:02:20
|
显示全部楼层
貌似是这些函数:
common.j
[jass]
native GetTerrainType takes real x, real y returns integer
native GetTerrainVariance takes real x, real y returns integer
native SetTerrainType takes real x, real y, integer terrainType, integer variation, integer area, integer shape returns nothing
native IsTerrainPathable takes real x, real y, pathingtype t returns boolean
native SetTerrainPathable takes real x, real y, pathingtype t, boolean flag returns nothing
[/jass]
而且有对应触发器:
Environment(环境):
进行创造或改变天气、设定浓雾等动作设定
Turn Terrain Pathing On/Off
Turns terrain at Location of type Pathing to On/Off
开启/关闭 指定区域的移动状态 |
|