Page 1 of 2

I need help with hero leveling cheats..

Posted: June 18th, 2007, 1:07 am
by c0Ld
I cant seem to get the "Hero - Set Level" to work...

Posted: June 18th, 2007, 1:14 am
by Xantan
Everything you need to know and more should be solved by reading through this topic:
http://forum.wc3edit.net/viewtopic.php?t=176

Posted: June 18th, 2007, 1:31 am
by WhoisOwnAgE
GUI Trigger

Code: Select all

Events
               Player - Player 1 (Red) types a chat message containing -set as a substring

          Conditions
          Actions
              Unit Group- Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
                        Loop - Actions
                                Hero - Set (Picked unit) Hero -level to (Integer((Substring((Entered chat string), 5, 20)))), Hide level-up graphics


Jass...... idk

ex: -set 10
to make your hero level 10

Posted: June 18th, 2007, 1:38 am
by c0Ld
how do i loop triggers

Posted: June 18th, 2007, 2:09 am
by WhoisOwnAgE
GUI TRIGGER ONLY

Code: Select all

Actions 
              Unit Group- Pick every unit in (Units currently selected by Player 1 (Red)) and do (Actions)
                        Loop - Actions
                                Hero - Set (Picked unit) Hero -level to (Integer((Substring((Entered chat string), 5, 20)))), Hide level-up graphics


ok, go new actions then go "action type" and select 'unit group', then click on the blue text, then look for 'Units seclected' in function drop-down.
Click ok then ok.

Then the 'Loop- Actions' will appear, then right click it and click 'New Action'
and pick 'Hero' for 'Action type'. Then pick 'set level'.
then click on blue (triggering unit) and go to 'function' and click on 'picked unit'. Then Click blue '2' and then go to function then click 'Conversion - Convert String To Integer' then click on blue '(Entered chat string)'. Then click 'substring' in function. Click on red 'string'. Now click on 'Event Response - Entered Chat String' in function. Click ok, the click on blue '1' and set the value to 5. Click ok then click on other blue '5' and set it to 20. Click ok, then ok, then finally ok and ur set to go!

this 1 in my cases is for 1 player of any color, for more players, copy them and paste to the number of desired players and double click the created action trigger and change the players

hope u could understand this 8)


Action Type
2nd action type thing (idk what it is called)
function
editable trigger's part
MUST be edited in order to click Ok

Posted: June 18th, 2007, 2:46 am
by Xantan
using currently selected will bug up A LARGE amount if you play with more then two players. just a FYI.

Posted: June 18th, 2007, 3:13 am
by c0Ld
...its dosent seem to work when i try it in custom hero arena

Posted: June 18th, 2007, 3:33 am
by Xantan
if you used his, you'd need to be red... and you'd need to set it up correctly...

either way, don't use his (lol), check out the topic i listed, specifically page two where I post my 'recent' style, pictures are included.

Posted: June 18th, 2007, 3:51 am
by aelolandas

Code: Select all

Events
    Player - Player 1 (Red) types a chat message containing -lvl as A substring
    Player - Player 2 (Blue) types a chat message containing -lvl as A substring
    Player - Player 3 (Teal) types a chat message containing -lvl as A substring
    Player - Player 4 (Purple) types a chat message containing -lvl as A substring
    Player - Player 5 (Yellow) types a chat message containing -lvl as A substring
    Player - Player 6 (Orange) types a chat message containing -lvl as A substring
    Player - Player 7 (Green) types a chat message containing -lvl as A substring
    Player - Player 8 (Pink) types a chat message containing -lvl as A substring
    Player - Player 9 (Gray) types a chat message containing -lvl as A substring
    Player - Player 10 (Light Blue) types a chat message containing -lvl as A substring
    Player - Player 11 (Dark Green) types a chat message containing -lvl A substring
    Player - Player 12 (Brown) types a chat message containing -lvl as A substring
Conditions
Actions
    Unit Group - Pick every unit in (Units in (Entire map area) owned by (Triggering player)) and do (Hero - Set (Picked unit) Hero-level to (Integer((Substring((Entered chat string), 5, 20)))), Hide level-up graphics)


Posted: June 18th, 2007, 4:21 am
by Xantan
^^^^^^^^^^^^^^^^^^^^^^
WRONG

change picked player to triggering player, and its all good.

Also, I'd use entire map rather then playable map area... but w/e