• 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.

How to Upgrade a unit at lvl xx?

Status
Not open for further replies.
Level 3
Joined
Nov 27, 2008
Messages
23
Hello, i saw maps example pokemon, a pokemon get lvl 10 and evolve to a other pokemon, i know it work with heros too, but how to make it? someone got a tutorial or can make a tutorial here? =3

Thx
Mfg, Me! x3




------------------------------------------
sry for my bad english.
 
  • Angry
Reactions: Rui
Level 12
Joined
Apr 15, 2008
Messages
1,063
  • Evolve
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • (Unit-type of (Leveling Hero)) Equal to Paladin
      • (Hero level of (Leveling Hero)) Equal to 10
    • Actions
      • Unit - Replace (Leveling Hero) with a Mountain King using The old unit's relative life and mana
      • Hero - Set (Leveling Hero) Hero-level to 1, Hide level-up graphics
 
Ah your English isnt all that bad. Its very understandable, unlike others Ive seen. Yea I would go with what Mort has. But in order to avoid issues and alot of frustation. I would add this:
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • ((Triggering unit) is selected by (Owner of (Triggering unit))) Equal to True
    • Then - Actions
      • Selection - Remove (Triggering unit) from selection
      • Selection - Add (Last replaced unit) to selection
    • Else - Actions
 
Picking both would be wrong. I suggest going with the 10. I think its like all the other events in WC3 and the trigger is triggered after. Like unit finishes training unit. Its not gonna do stuff before the unit exists. If you have triggers like order event response trained unit to attack spot, its not gonna order something that isnt there. The events come after the actual event happens. Go with 10.
 
Status
Not open for further replies.
Top