Warcraft III resources & community, 2003–2006 · archived

How to detect hero levels?!

8 posts
#1

How to detect hero levels?!

Is there a trigger that makes it so that when your hero reaches level 20 he gets a spell?
#2
u can use generic unit event - unit gains a level... but conditions will be tricky :/ you can improvise somehow though...
#3
Conditions wouldn't be tricky. You can simply use an Integer Comparison to see if his level >= 20.
#4
a combo of what they said - event> generic unit event is the most efficient one :lol:
#5
Well I guess this might be a way to do this in a specific way. Im sure that u already get it tho:

Event - Unit - A unit Gains a level

Conditions - (Hero level of (Triggering unit)) Equal to 20
(Unit-type of (Triggering unit)) Equal to (unit you want to gain the ability)

Action - Unit - Add [Ability] to (Triggering unit)

Thats the way I thought of that
#6
i didnt know there was a hero level comparison >_>
#7
OMFG YOU ROXORSD CREDIT TO ALL IN MY UBER AWESOME REVOLUTIONARY RUNESAPE/WARCRAFT/ZELDA HYBRID MAP!!!111!!!1! J00 411 120><0122!!!11!
#8
Radi didnt know there was a hero level comparison >_>


There isn't. It's an integer comparision. :)