HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Level and Target Triggers

01-27-2004, 08:59 PM#1
FallenDarkness
Are there triggers that can check the level of a spell and do different damage for each level? If so, do you use Arrays? Variables? If you do, what are the triggers called for the Spell Levels and Targets?
01-27-2004, 09:11 PM#2
Arohk
just this simple condition :D

(Level of (Ability being cast) for (Casting unit)) Gleich 1
01-27-2004, 09:17 PM#3
FallenDarkness
I can't find this in the conditions menus of any comparison. Where did you find it?





---------------------------


Nevermind I found it, thank you.
01-27-2004, 09:25 PM#4
Arohk
Its under Integer comprasion, Unit-Lvl of ability
01-27-2004, 09:29 PM#5
The_Inquisitor3
and how can u set the levl of the ability??? example. when a unit dies, set the "brillance aura" skill to lvl 2
01-27-2004, 09:49 PM#6
xxxSpikexxx
i think it works if you remove the ability completely and teach it to the Character as often as u need. using: Hero - learn skill

if u only want to increase it you don't need to remove it. "hero - learn skill" will do just the same like clicking on the "learn xxxxx" buttons in the game ... I'm not sure if the hero can learn skills that are not in the list of hero skills he has ...
try it out its the best way to find it out ;)
02-04-2004, 01:51 PM#7
Vexorian
Changing an ability level with triggers isn't exactly easy, it will mostly require upgrades, I dunno why blizzard didn't add a SetUnitabilitylevel native

PS: xxxSpikexxx sorry for the other day, I thought that guy was talking about foot switches that is why I came with the post about the unit enter region kill switch. I found a destructible called lever the other day so I now understand
02-04-2004, 07:41 PM#8
FallenDarkness
Guys, I got this awhile ago lol. I wanted the WE to check the level of the spell and I got the trigger that does it. So I am good. Thanks though.