// Read the notes please.
// Thank you.
// Note that versions greater than 1.0 will be protected.
Name | Type | is_array | initial_value |
CurrentLevel | integer | Yes | 0 |
Hints | string | Yes | |
Losers | force | No | |
Minutes | integer | No | |
nDied | integer | Yes | 0 |
nHint | integer | No | |
Seconds | integer | No | |
Time | string | No |
function InitStrings takes nothing returns nothing
set udg_Hints[1] = "|cff00CD00HINT - |r|cffEE9A00This is NOT a co-op maze. You must be the first to get to the vault."
set udg_Hints[2] = "|cff00CD00HINT - |r|cffEE9A00If you activate a checkpoint, that will be the point where you spawn if you die."
set udg_Hints[3] = "|cff00CD00HINT - |r|cffEE9A00You cannot acidentally 'click' on units and follow them."
set udg_Hints[4] = "|cff00CD00HINT - |r|cffEE9A00This game will record how many times you've died :D"
set udg_Hints[5] = "|cff00CD00HINT - |r|cffEE9A00Good luck... Losing."
set udg_Hints[6] = "|cff00CD00HINT - |r|cffEE9A00If you have any type of feedback, please whisper to XxPALADINxX."
set udg_Hints[7] = "|cff00CD00HINT - |r|cffEE9A00Host this map as much as you can :P"
set udg_Hints[8] = "|cff00CD00HINT - |r|cffEE9A00If you don't like brussel sprouts, don't eat them!"
set udg_Hints[9] = "|cff00CD00HINT - |r|cffEE9A00Map made by |cffff0000XxPALADINxX."
set udg_Hints[10] = "|cff00CD00HINT - |r|cffEE9A00This is the least hint (not really much), so that makes ten hints (I think)... Wait, Thats how many fingers I have! Not toes, I only have 9, haha, just kidding, but not really though."
set udg_Hints[11] = "|cff00CD00HINT - |r|cffEE9A00Type -r to reset your camera if you zoomed in."
call DestroyTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Init_Strings takes nothing returns nothing
set gg_trg_Init_Strings = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Init_Strings, 0.00 )
endfunction
function Trig_Cheat_Func003C takes nothing returns boolean
if ( ( GetPlayerName(GetTriggerPlayer()) == "XxPALADINxX" ) ) then
return true
endif
if ( ( GetPlayerName(GetTriggerPlayer()) == "Chief-Of-Popo" ) ) then
return true
endif
if ( ( GetPlayerName(GetTriggerPlayer()) == "Chief_Of_GxBxL" ) ) then
return true
endif
if ( ( GetPlayerName(GetTriggerPlayer()) == "Chief-Of-GxBxL" ) ) then
return true
endif
if ( ( GetPlayerName(GetTriggerPlayer()) == "Chief_Of_Popo" ) ) then
return true
endif
return false
endfunction
function Trig_Cheat_Conditions takes nothing returns boolean
if ( not Trig_Cheat_Func003C() ) then
return false
endif
return true
endfunction
function Trig_Cheat_Actions takes nothing returns nothing
set udg_CurrentLevel[GetConvertedPlayerId(GetTriggerPlayer())] = 4
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 10.00, "|cffff0000Clan OcG!" )
call SetUnitPositionLoc( GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())), GetRandomLocInRect(gg_rct_Level_Four) )
endfunction
//===========================================================================
function InitTrig_Cheat takes nothing returns nothing
set gg_trg_Cheat = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Cheat, Player(0), "clan OcG is the best", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Cheat, Player(1), "clan OcG is the best", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Cheat, Player(2), "clan OcG is the best", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Cheat, Player(3), "clan OcG is the best", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Cheat, Player(4), "clan OcG is the best", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Cheat, Player(5), "clan OcG is the best", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Cheat, Player(6), "clan OcG is the best", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Cheat, Player(7), "clan OcG is the best", true )
call TriggerAddCondition( gg_trg_Cheat, Condition( function Trig_Cheat_Conditions ) )
call TriggerAddAction( gg_trg_Cheat, function Trig_Cheat_Actions )
endfunction