HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Casting abs??

08-06-2004, 12:17 AM#1
typon
Okay, i have a unit that is able to cast monsoon. But i want the spell to turn on imiditly, around him. I DONT want him to chose the position of the spell to be cast. Then i starts with the trigger
+Event
-Units begins casting a spell "blablaspell".
+Condition
-Casting spell iqual to "blablaspell"
+Action
AHH!!! There is no ******* trigger that tells the unit to cast an ability?
WTF!!! Or im i just blind!?!?
Is there some other way to do this?
Please help me. Im turning blue over here..
08-06-2004, 12:48 AM#2
[niro]
Yes, ordering a unit to cast a spell, i wish blizzard would implement custom abiliutys here, what you do

Base your monsoon ability off the real monsoon ability.(just change the existing one)

Give him a roar based ability.

Make it have NO effect, no range, targets none.

Make the roar ability have the icon and name of the monsoon ability, name it the same, same tooltip, make sure its a level 6 hero ability.

After you have your 2 abilitys. give your hero the DUMMY ability(the roar)

For instance, the abilitys will be called, spelleffect(monsoon)
and spelldummy(roar)

Now, your hero levels up to 6, gets his level 6 dummy ability, that looks exactly the same as the monsoon one(tooltip, icon, button postion, everything)

Make a Trigger

Event
Unit Finishes casting an ability
Condtion
Unit equal to (Hero01)
Ability being cast equal to (spelldummy)

Action
Remove the (Spelldummy) from (Hero01)
Add the (spelleffect) to (Hero01)
Order (Hero01) to Cast Monsoon at (postion of (Hero01))


All of the actions are found under units.
You need another trigger to switch the abilitys back.

Event
Unit Stops casting an Ability
Condtion
Unit equal to (Hero01)
Ability being cast equal to (spelleffect)

Actions
Remove the (Spelleffect) from (Hero01)
Add the (spelldummy) to (Hero01)




This should do it, but it will only work with the ultimate having 1 level.

hope it helps.
08-06-2004, 03:16 AM#3
Pyrus
It could work as a multi level spell. You will need 3 versions spelleffect(monsoon), each with diff stats that correspond to the levels. Then have a trigger that checks what level spelldummy(roar) is when it is cast then give the hero the corresponding spelleffect(monsoon).