Map link: attached
While opening the map in Jasscraft, I was doing the tutorial of finding cheat packs in the maps. when I searched for "activator" didn't find anything, but when I search for "-gold" I saw this.
Spoiler:
function Trig_BasicList_Actions takes nothing returns nothing
if ( Trig_BasicList_Func001C() ) then
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100Basic List" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-kill [Kills the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-die [Kills the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-copy # [Copies the selected unit # times]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-pause [Pauses the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-unpause [Disables any pauses the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-gold # [Sets the gold of the owner of selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-wood # [Sets the wood / lumber of the owner of selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-control [Gives you control over the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-refr [Sets the HP and Mana of the selected unit to 100%, sets all cooldowns to 0, removes all buffs]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-hp # [Sets the HP of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-mana # [Sets the Mana of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-lvl # [Sets the level of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-str # [Sets the Strength of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-agi # [Sets the Agility of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-int # [Sets the Intelligence of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-inv [Makes the selected unit invulnerable]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-vul [Makes the selected unit vulnerable]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-food # [Sets the max. food amount to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-sp # [Sets the available hero skill points to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-setname (text) [Sets the name of the owner of a selected unit to (text)]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-cc # [Sets the color of the owner of a selected unit to # (01 = Red, 02 = Blue, 03 = Teal ... )" )
else
endif
endfunction
if ( Trig_BasicList_Func001C() ) then
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100Basic List" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-kill [Kills the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-die [Kills the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-copy # [Copies the selected unit # times]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-pause [Pauses the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-unpause [Disables any pauses the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-gold # [Sets the gold of the owner of selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-wood # [Sets the wood / lumber of the owner of selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-control [Gives you control over the selected unit]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-refr [Sets the HP and Mana of the selected unit to 100%, sets all cooldowns to 0, removes all buffs]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-hp # [Sets the HP of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-mana # [Sets the Mana of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-lvl # [Sets the level of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-str # [Sets the Strength of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-agi # [Sets the Agility of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-int # [Sets the Intelligence of a selected unit to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-inv [Makes the selected unit invulnerable]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-vul [Makes the selected unit vulnerable]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-food # [Sets the max. food amount to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-sp # [Sets the available hero skill points to #]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-setname (text) [Sets the name of the owner of a selected unit to (text)]" )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetForceOfPlayer(GetTriggerPlayer()), 30, "|cff08A100-cc # [Sets the color of the owner of a selected unit to # (01 = Red, 02 = Blue, 03 = Teal ... )" )
else
endif
endfunction
Can you please tell me the activator. where and how did you find it, and an explanation for what does those commands do:
-advanced
-pro
-global
-fun
-punish" )
Is It like instead of -list1, -list2, -list3 ..etc I write -advanced so I can see the list of the commands?
+ I guess this map is cheated in this website, because I saw wc3edit.net link in the script but I failed to find the request.