HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Make any spell auto-castable?

10-08-2003, 12:39 AM#1
Ironboy
ya, i'd like to make non-auto-cast spells into auto-cast spells...

how to do that?

thxs
10-08-2003, 12:50 AM#2
Foober
Auto cast spells have hard-coded conditions in which they are to be casted so you cannot make auto cast out of storm bolt for instance because the game doesn't know the conditions in which to auto cast.

So make a new skill out of an already auto cast spell and edit some stuff, that's all you can do.

You could using triggers, with the cast of heal perhaps, add extra effects such as change target model into sheep and have it able to be cast on enemies. .. The code for auto cast heal probably won't target hurt enemies though. So, yeah, use some triggers to augment autocast spells.
10-08-2003, 07:10 AM#3
Ironboy
Quote:
Originally posted by Pascal314
You could have a dummy autocast ability that has the exact tagets that you want.

Use this tutorial to find the target of the ability:

[WC3Campaigns turned the URL into a bunch of asterisks, use the pasted URL, just delete all "&" symbols]

http://www.w&c&3&m&o&d&f&o&r&g&e.com...?tutorial_id=9

The event could be when the dummy ability is cast, when that happens, create a dummy unit with the real ability and order it to cast its real ability on the dummy spell's target.

A final trigger could check for when a unit of type [dummy casting unit] finishes casting [real ability], its action would remove the casting unit.


what's the url? I can't past any url... @@"