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

[Solved] How to detect when hero reaches level 2

Status
Not open for further replies.
Level 6
Joined
Mar 9, 2009
Messages
175
How to create a trigger which when hero level reached level 2 than do action.
The underline is my problem , why i can't do it = =


Please help me ~
 
  • init
    • Events
      • Unit - A unit Gains new level
    • Conditions
      • (Hero level of (Triggering unit)) Equal to 2
    • Actions
      • // stuff
Event is found in 'Unit' section (Unit - Generic Unit Event), from filter select 'Gains new level'.

Conditions >> from Conditions window click on highlighted line and look for 'Integer Comparison'. As soon as you do that, click on the left part of shown sentence so new window will appear. Head to 'Hero - Hero level' and close this one by clicking 'Ok'. Now, fill the right part with the level value at which trigger should be executed.
 
Level 6
Joined
Mar 9, 2009
Messages
175
wow ! thanks for helping solve my small problem (is small problem but i dont know) haha thanks its done now .
 
Status
Not open for further replies.
Top