|
触发器涵数
[jass]
function Trig_Map_Initialization_Func009002 takes nothing returns nothing
call CreateFogModifierRectBJ( true, GetEnumPlayer(), FOG_OF_WAR_VISIBLE, gg_rct_LeftBox )
endfunction
function Trig_Map_Initialization_Func010002 takes nothing returns nothing
call CreateFogModifierRectBJ( true, GetEnumPlayer(), FOG_OF_WAR_VISIBLE, gg_rct_RightBox )
endfunction
function Trig_Map_Initialization_Func011002 takes nothing returns nothing
call CreateFogModifierRectBJ( true, GetEnumPlayer(), FOG_OF_WAR_VISIBLE, gg_rct_PKPlace )
endfunction
function Trig_Map_Initialization_Func012002 takes nothing returns nothing
call CreateFogModifierRectBJ( true, GetEnumPlayer(), FOG_OF_WAR_VISIBLE, gg_rct_Auditoria1 )
endfunction
function Trig_Map_Initialization_Func013002 takes nothing returns nothing
call CreateFogModifierRectBJ( true, GetEnumPlayer(), FOG_OF_WAR_VISIBLE, gg_rct_Auditoria2 )
endfunction
function Trig_Map_Initialization_Func014002 takes nothing returns nothing
call SetUnitInvulnerable( GetEnumUnit(), true )
endfunction
function Trig_Map_Initialization_Func015002 takes nothing returns nothing
call SetUnitInvulnerable( GetEnumUnit(), true )
endfunction
function Trig_Map_Initialization_Func016002 takes nothing returns nothing
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, GetEnumPlayer() )
endfunction
function Trig_Map_Initialization_Func017002001 takes nothing returns boolean
return ( GetPlayerController(GetEnumPlayer()) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Map_Initialization_Func017002002001 takes nothing returns boolean
return ( GetEnumPlayer() != Player(5) )
endfunction
function Trig_Map_Initialization_Func017002002002001 takes nothing returns boolean
return ( GetEnumPlayer() != Player(11) )
endfunction
function Trig_Map_Initialization_Func017002 takes nothing returns nothing
if ( Trig_Map_Initialization_Func017002001() ) then
if ( Trig_Map_Initialization_Func017002002001() ) then
if ( Trig_Map_Initialization_Func017002002002001() ) then
call ShareEverythingWithTeam( GetEnumPlayer() )
else
call DoNothing( )
endif
else
call DoNothing( )
endif
else
call DoNothing( )
endif
endfunction
function Trig_Map_Initialization_Func018002 takes nothing returns nothing
call SetPlayerHandicapXPBJ( GetEnumPlayer(), 100.00 )
endfunction
function Trig_Map_Initialization_Func019002 takes nothing returns nothing
call SetPlayerStateBJ( GetEnumPlayer(), PLAYER_STATE_RESOURCE_FOOD_CAP, 90 )
endfunction
[/jass] |
|