HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger and Object editor help!!!

01-03-2005, 06:17 PM#1
Undifty
hi i wonder how to lower a unit with the help of triggers.... and i also wonder how to make the unit higher... (like in the birth of shadows cinematic, when illidan jumps).. i am planning for a spell and then i need that.. ..And i also wonder how to fix a spell like as an example: a firebolt that cause 100damage, stuns the unit for 2 seconds and while the unit is stunned it will loose as an example 30 damage each second.(and in this case it is 2 sec)...

I also wonder how to make the hero able to learn different hero abilities(by triggers)
01-03-2005, 08:03 PM#2
Panto
You can't physically give a hero any ability as a hero ability (as in, you can't make it show up in the learning card at all) unless you give it to the unit in WE.

You can, however, come up with a custom system. I got one working well; you can find it here.
01-03-2005, 11:52 PM#3
harshateja
Change unit(s) height: In WEU, thats a straight forward trigger. if you don't want to use an advanced editor, then base the spell of metamorphosis and change the meta unit's heigh.

Firebolt spell: Event: A unit casts a spell
Condition: cast spell = Fire Doom
Action: Create 1 dummy unit for owner of unit of triggering player
Order last created unit to Doom targeted unit
Remove last created unit.
(Make sure doom lasts for only a set amount of time and you remove the spawned unit.)

Adding hero ability: you can do what the above dude said or base the hero learn skill off spellbook. With WEU, you can change the spellID so having multiple spellbooks will work.
01-04-2005, 05:19 PM#4
Undifty
well i somehow need to fix a unit that both lower and highers(sorry but i suxx at english)cos i am going to use a unit as a projectile and as a effect in a spell.. :\
01-04-2005, 09:36 PM#5
Guest
"I also wonder how to make the hero able to learn different hero abilities(by triggers)"

Events
w/e Map Init, time w/e you want that triggers the action
Conditions
none
Actions
Hero Learn Skill- Learn skill for <select a hero>: <select an ability>

I think thats what you mean right?