• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

leveling system.

Status
Not open for further replies.
Level 4
Joined
Nov 24, 2010
Messages
70
can anyone teach me to make a leveling system by time?
all hero in the map will level up every 2 mins and also please teach me how to off experience gained from creeps. tyvm =)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
The Event should be, after you have chose all corresponding heroes for your team
Red has chosen...
Blue has chosen....
Until all has completed choosing heroes, do this:
  • Disable EXP
    • Events
      • All Player Unit has chosen their respective heroes
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A Hero) Equal to True
            • Then - Actions
              • Hero - Disable experience gain for (Picked unit)
            • Else - Actions
This trigger will disable EXP gain from creep

And this is for every 2 min, leveling up the heroes
  • Level Up
    • Events
      • Time - Every 120.00 seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A Hero) Equal to True
            • Then - Actions
              • Hero - Enable experience gain for (Picked unit)
              • Hero - Set (Picked unit) Hero-level to ((Hero level of (Picked unit)) + 1), Show level-up graphics
              • Hero - Disable experience gain for (Picked unit)
            • Else - Actions
I've attached a test map, try it
Change the 5.00 to 120.00 seconds
 

Attachments

  • LVL Up System.w3x
    17.3 KB · Views: 41
Status
Not open for further replies.
Top