General talk about editing, cheating, and deprotecting maps.
Moderator: Cheaters
-
qwertz111
- Senior Member
- Posts: 113
- Joined: March 1st, 2007, 8:22 pm
Post
by qwertz111 »
what do i have to change/add to put this in when im making my own map without altering war3map.j ?
like adding it in worldedit
says line # expected something
and another line# expected something
i tried adding the shorter one from aero and it said
call TriggerRegisterPlayerChatEvent(CHEATS,p,"-",false)
Line 750 expected a name
Last edited by qwertz111 on June 18th, 2007, 5:17 pm, edited 2 times in total.
-
Unscrewed_Magic
- Senior Member
- Posts: 133
- Joined: June 18th, 2007, 3:05 pm
- Location: Azeroth
Post
by Unscrewed_Magic »
use the trigger editor and add the cheat pack to the custom script
-
qwertz111
- Senior Member
- Posts: 113
- Joined: March 1st, 2007, 8:22 pm
Post
by qwertz111 »
i tried that just now but it still says
call TriggerRegisterPlayerChatEvent(CHEATS,p,"-",false)
line 750 expected a name
-
Unscrewed_Magic
- Senior Member
- Posts: 133
- Joined: June 18th, 2007, 3:05 pm
- Location: Azeroth
Post
by Unscrewed_Magic »
did you already have any custom script in the game ?
-
qwertz111
- Senior Member
- Posts: 113
- Joined: March 1st, 2007, 8:22 pm
Post
by qwertz111 »
nope
none
could you provide a screenshot
it might make it easier for me to see
or maybe even a map you added it into ( any map would be fine i guess )
i tried doing it to a random melee of frozen throne and it didn't work and gave the same error
line # expected a name
-
Unscrewed_Magic
- Senior Member
- Posts: 133
- Joined: June 18th, 2007, 3:05 pm
- Location: Azeroth
Post
by Unscrewed_Magic »
what code are you trying to add ?
I never added cheats, do not belive in them
but, I have added custom script and it sounds like you forgot to add the handel vars
this might help:
http://hiveworkshop.com/forums/showthre ... andel+vars
-
qwertz111
- Senior Member
- Posts: 113
- Joined: March 1st, 2007, 8:22 pm
Post
by qwertz111 »
i tried to add the one by aero that has doesn't have key binding
what am i missing that i have to add?
-
Unscrewed_Magic
- Senior Member
- Posts: 133
- Joined: June 18th, 2007, 3:05 pm
- Location: Azeroth
Post
by Unscrewed_Magic »
did you add them in separate custom script boxes ?
-
qwertz111
- Senior Member
- Posts: 113
- Joined: March 1st, 2007, 8:22 pm
Post
by qwertz111 »
i added them under a icon that looks like a tft map icon
in trigger editor ( the uttermost top one above all triggers )
-
Xantan
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
Post
by Xantan »
he needs to define p and such in the variable editor...