HOWTO: Unprotecting, Editing, and Cheating Maps. (GUI)
Moderator: Cheaters
-
- Newcomer
- Posts: 3
- Joined: April 3rd, 2007, 12:25 pm
-
- Forum Addict
- Posts: 405
- Joined: February 17th, 2007, 9:16 pm
-
- Newcomer
- Posts: 7
- Joined: February 19th, 2007, 10:23 am
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
-
- Newcomer
- Posts: 7
- Joined: February 19th, 2007, 10:23 am
-
- Newcomer
- Posts: 1
- Joined: April 7th, 2007, 4:43 am
-
- Newcomer
- Posts: 17
- Joined: February 11th, 2007, 8:53 am
ok well i tried this but i want single player on a game and i think i got what i need but im not sure and idk wat to do at the start atleast 2 ppl have to say -turnon to be able to save so i think i got the part of the code that has that
if im right please tell me what i need to do rlly trying to learn this...
Code: Select all
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(0),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(1),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(2),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(3),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(4),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(5),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(6),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(7),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(8),"-save",false)
call TriggerRegisterPlayerChatEvent(udg_trigger55,Player(9),"-save",false)
call TriggerAddCondition(udg_trigger55,Condition(function e4))
call TriggerAddAction(udg_trigger55,function EK)
set udg_trigger56=CreateTrigger()
call DisableTrigger(udg_trigger56)
set udg_trigger232=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger232,Player(0),"-turnon",true)
call TriggerAddAction(udg_trigger232,function pN)
set udg_trigger233=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger233,Player(1),"-turnon",true)
call TriggerAddAction(udg_trigger233,function pO)
set udg_trigger234=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger234,Player(2),"-turnon",true)
call TriggerAddAction(udg_trigger234,function pP)
set udg_trigger235=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger235,Player(4),"-turnon",true)
call TriggerAddAction(udg_trigger235,function pQ)
set udg_trigger236=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger236,Player(3),"-turnon",true)
call TriggerAddAction(udg_trigger236,function pR)
set udg_trigger237=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger237,Player(5),"-turnon",true)
call TriggerAddAction(udg_trigger237,function pS)
set udg_trigger238=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger238,Player(6),"-turnon",true)
call TriggerAddAction(udg_trigger238,function pT)
set udg_trigger239=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger239,Player(7),"-turnon",true)
call TriggerAddAction(udg_trigger239,function pU)
set udg_trigger240=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger240,Player(8),"-turnon",true)
call TriggerAddAction(udg_trigger240,function pV)
set udg_trigger241=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger241,Player(9),"-turnon",true)
call TriggerAddAction(udg_trigger241,function pW)
set udg_trigger242=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger242,Player(10),"-turnon",true)
call TriggerAddAction(udg_trigger242,function pX)
set udg_trigger243=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger243,7.00)
call TriggerAddAction(udg_trigger243,function pz)
call ConditionalTriggerExecute(udg_trigger39)
call ConditionalTriggerExecute(udg_trigger228)
call ConditionalTriggerExecute(udg_trigger229)
endfunction
function InitTrig_init takes nothing returns nothing
call ExecuteFunc("main2")
endfunction
-
- Forum Drunk
- Posts: 2899
- Joined: January 17th, 2007, 4:22 pm
- Has thanked: 1 time
- Been thanked: 1 time
just do some dirty hack
like... change one of the other player numbers to your one...
so if you type this turn on thing you trigger the one for another player, too
for example:
to
so player 0 (should be red) can trigger it 2 times by typing -turnon
like... change one of the other player numbers to your one...
so if you type this turn on thing you trigger the one for another player, too
for example:
Code: Select all
call TriggerRegisterPlayerChatEvent(udg_trigger242,Player(10),"-turnon",true)
Code: Select all
call TriggerRegisterPlayerChatEvent(udg_trigger242,Player(0),"-turnon",true)
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick
-
- Newcomer
- Posts: 17
- Joined: February 11th, 2007, 8:53 am