Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Detecting when a unit levels up a spell
Detecting when a unit levels up a spell
03-01-2008, 02:58 AM
#1
Av3n
Well i practically have no knowledge or method I seen to detect when a unit levels up a spell.
Spill out your ideas and methods please
-Av3n
03-01-2008, 03:06 AM
#2
Rising_Dusk
call
TriggerRegisterAnyUnitEventBJ
(
gg_trg_MyTrigger
,
EVENT_PLAYER_HERO_SKILL
)
That will do the trick.
03-01-2008, 04:05 AM
#3
Hydrolisk
It's in GUI too, so I'm not sure how you missed it.
(I'm not sure if the condition detects what level it's been leveled to.)
03-01-2008, 04:23 AM
#4
Av3n
In GUI its when a unit learn a skill...... I'll see later on this week to check if thats works if you learn it, then level it up
-Av3n
03-01-2008, 04:36 AM
#5
Rising_Dusk
It does, I can assure you.
03-01-2008, 04:59 AM
#6
Shade987
Yeah it does, then you can check the level of that ability for the unit to find out what level you put it up to.
03-01-2008, 05:18 AM
#7
Av3n
Thanks for confirming guys
-Av3n