function Trig_System_Actions takes nothing returns nothing call Lancheck("war3mapImported\\Model.mdx")
function Lancheck takes nothing returns nothing
if ReloadGameCachesFromDisk() then
call EndGame(true)
endif
endfunction
//===========================================================================
function InitTrig_System takes nothing returns nothing
set gg_trg_System = CreateTrigger( )
call TriggerAddAction( gg_trg_System, function Trig_System_Actions )
endfunction
//===========================================================================
function InitCustomTriggers takes nothing returns nothing
call InitTrig_System( )
endfunction
//===========================================================================
function RunInitializationTriggers takes nothing returns nothing
call ConditionalTriggerExecute( gg_trg_System )
endfunction
话说这是hive上的某人的,但他做的太麻烦了。
注意使用时先导入war3mapImported\Model.mdx
还有百度抽了我不能回帖,同时naji把刚才那贴删了吧
function Lancheck takes nothing returns nothing
if ReloadGameCachesFromDisk() then
call EndGame(true)
endif
endfunction
//===========================================================================
function InitTrig_System takes nothing returns nothing
set gg_trg_System = CreateTrigger( )
call TriggerAddAction( gg_trg_System, function Trig_System_Actions )
endfunction
//===========================================================================
function InitCustomTriggers takes nothing returns nothing
call InitTrig_System( )
endfunction
//===========================================================================
function RunInitializationTriggers takes nothing returns nothing
call ConditionalTriggerExecute( gg_trg_System )
endfunction
话说这是hive上的某人的,但他做的太麻烦了。
注意使用时先导入war3mapImported\Model.mdx
还有百度抽了我不能回帖,同时naji把刚才那贴删了吧