when I join the map by myself it comes up I am the last person playing and have 20 minutes before save/load is disabled wvwn though i cant a save even before 20 minutes so can anyone tell me how I would disable this?
Ive found the funtion that does this but I have no idea how to disable it, anyone know?
Spoiler:
Code: Select all
Trigger: Anti single player8
//
// There is no way that I am aware of that gives me the ability to block players from using cheat codes in single player. What is the fun of playing a map when you can kill everyone in one hit and then save that now overpowered hero to slaughter people on battle.net when the player had maybe 30 minutes on the map? Therefore we have altered how the single player version saves. This trigger detects that only one player is playing and switches to the game cache instead of the Save Code generator.
//===========================================================================
function Trig_Anti_single_player8_Func002Func003Func001001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(0)) == PLAYER_SLOT_STATE_EMPTY )
endfunction
function Trig_Anti_single_player8_Func002Func003Func001002 takes nothing returns boolean
return ( GetPlayerController(Player(0)) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Anti_single_player8_Func002Func003Func002001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(1)) == PLAYER_SLOT_STATE_EMPTY )
endfunction
function Trig_Anti_single_player8_Func002Func003Func002002 takes nothing returns boolean
return ( GetPlayerController(Player(1)) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Anti_single_player8_Func002Func003Func003001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(2)) == PLAYER_SLOT_STATE_EMPTY )
endfunction
function Trig_Anti_single_player8_Func002Func003Func003002 takes nothing returns boolean
return ( GetPlayerController(Player(2)) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Anti_single_player8_Func002Func003Func004001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(3)) == PLAYER_SLOT_STATE_EMPTY )
endfunction
function Trig_Anti_single_player8_Func002Func003Func004002 takes nothing returns boolean
return ( GetPlayerController(Player(3)) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Anti_single_player8_Func002Func003Func005001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(4)) == PLAYER_SLOT_STATE_EMPTY )
endfunction
function Trig_Anti_single_player8_Func002Func003Func005002 takes nothing returns boolean
return ( GetPlayerController(Player(4)) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Anti_single_player8_Func002Func003Func006001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(5)) == PLAYER_SLOT_STATE_EMPTY )
endfunction
function Trig_Anti_single_player8_Func002Func003Func006002 takes nothing returns boolean
return ( GetPlayerController(Player(5)) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Anti_single_player8_Func002Func003Func007001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(6)) == PLAYER_SLOT_STATE_EMPTY )
endfunction
function Trig_Anti_single_player8_Func002Func003Func007002 takes nothing returns boolean
return ( GetPlayerController(Player(6)) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Anti_single_player8_Func002Func003Func008001 takes nothing returns boolean
return ( GetPlayerSlotState(Player(8)) == PLAYER_SLOT_STATE_EMPTY )
endfunction
function Trig_Anti_single_player8_Func002Func003Func008002 takes nothing returns boolean
return ( GetPlayerController(Player(8)) == MAP_CONTROL_COMPUTER )
endfunction
function Trig_Anti_single_player8_Func002Func003C takes nothing returns boolean
if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func001001(), Trig_Anti_single_player8_Func002Func003Func001002() ) ) then
return false
endif
if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func002001(), Trig_Anti_single_player8_Func002Func003Func002002() ) ) then
return false
endif
if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func003001(), Trig_Anti_single_player8_Func002Func003Func003002() ) ) then
return false
endif
if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func004001(), Trig_Anti_single_player8_Func002Func003Func004002() ) ) then
return false
endif
if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func005001(), Trig_Anti_single_player8_Func002Func003Func005002() ) ) then
return false
endif
if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func006001(), Trig_Anti_single_player8_Func002Func003Func006002() ) ) then
return false
endif
if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func007001(), Trig_Anti_single_player8_Func002Func003Func007002() ) ) then
return false
endif
if ( not GetBooleanOr( Trig_Anti_single_player8_Func002Func003Func008001(), Trig_Anti_single_player8_Func002Func003Func008002() ) ) then
return false
endif
return true
endfunction
function Trig_Anti_single_player8_Func002C takes nothing returns boolean
if ( not Trig_Anti_single_player8_Func002Func003C() ) then
return false
endif
return true
endfunction
function Trig_Anti_single_player8_Actions takes nothing returns nothing
if ( Trig_Anti_single_player8_Func002C() ) then
call DisableTrigger( gg_trg_NPS_Save )
else
set udg_Multiplayer = true
endif
endfunction