YDWE测试地图出错, //function main takes nothing returns nothing call SetCameraBounds( -11520.0 + GetCameraMargin(CAMERA_MARGIN_LEFT),-9728.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM),11520.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT),9216.0 - GetC
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/09 09:40:36
YDWE测试地图出错, //function main takes nothing returns nothing call SetCameraBounds( -11520.0 + GetCameraMargin(CAMERA_MARGIN_LEFT),-9728.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM),11520.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT),9216.0 - GetC
YDWE测试地图出错,
//
function main takes nothing returns nothing
call SetCameraBounds( -11520.0 + GetCameraMargin(CAMERA_MARGIN_LEFT),-9728.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM),11520.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT),9216.0 - GetCameraMargin(CAMERA_MARGIN_TOP),-11520.0 + GetCameraMargin(CAMERA_MARGIN_LEFT),9216.0 - GetCameraMargin(CAMERA_MARGIN_TOP),11520.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT),-9728.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM) )
call SetDayNightModels( "Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl","Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl" )
call NewSoundEnvironment( "Default" )
call SetAmbientDaySound( "LordaeronSummerDay" )
call SetAmbientNightSound( "LordaeronSummerNight" )
call SetMapMusic( "Music",true,0 )
call CreateRegions( )
call CreateAllUnits( )
call InitBlizzard( )
//!initstructs
//!initdatastructs
call InitGlobals( )
call InitCustomTriggers( )
call RunInitializationTriggers( )
endfunction
本来是没问题的,我做了N多触发后就出现了,这个我点都不懂,我还以为是触发、单位什么的出错,我把触发单位全删了都还不行.
YDWE测试地图出错, //function main takes nothing returns nothing call SetCameraBounds( -11520.0 + GetCameraMargin(CAMERA_MARGIN_LEFT),-9728.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM),11520.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT),9216.0 - GetC
这里已经说明问题了,变量不能用中文名.打开你的变量表,把中文变量改为数字和英文.