• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[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 ~
 
Level 26
Joined
Mar 19, 2008
Messages
3,140
  • 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