wc3edit.net

United Warcraft 3 map hacking!
It is currently April 25th, 2024, 2:37 pm

All times are UTC




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: June 18th, 2007, 1:07 am 
Offline
Newcomer

Joined: June 17th, 2007, 3:57 am
Posts: 3
I cant seem to get the "Hero - Set Level" to work...


Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 1:14 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
Everything you need to know and more should be solved by reading through this topic:
http://forum.wc3edit.net/viewtopic.php?t=176


Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 1:31 am 
Offline
Junior Member
User avatar

Joined: June 7th, 2007, 7:44 am
Posts: 44
GUI Trigger

Code:
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


Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 1:38 am 
Offline
Newcomer

Joined: June 17th, 2007, 3:57 am
Posts: 3
how do i loop triggers


Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 2:09 am 
Offline
Junior Member
User avatar

Joined: June 7th, 2007, 7:44 am
Posts: 44
GUI TRIGGER ONLY

Code:
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


Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 2:46 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
using currently selected will bug up A LARGE amount if you play with more then two players. just a FYI.


Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 3:13 am 
Offline
Newcomer

Joined: June 17th, 2007, 3:57 am
Posts: 3
...its dosent seem to work when i try it in custom hero arena


Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 3:33 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
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.


Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 3:51 am 
Offline
Member

Joined: April 17th, 2007, 3:24 am
Posts: 51
Code:
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)


_________________
Hi


Last edited by aelolandas on June 18th, 2007, 4:27 am, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: June 18th, 2007, 4:21 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
^^^^^^^^^^^^^^^^^^^^^^
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)