HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

making any spell able to be autocast

08-27-2002, 02:32 AM#1
Guest
Is there a way to make any spell autocastable? I know that in the abilityfunc.txt's that there is an 'orderon' and 'orderoff', but adding this to other spells doesn't do anything. What else do I need to manipulate?

here's blood lust for example:
OrderOn=bloodluston
OrderOff=bloodlustoff

Has anyone discovered how to make a spell that is not normally auto cast auto castable?
08-31-2002, 12:13 AM#2
Guest
I seriously doubt that would work, for a few reasons:

1. Every auto-cast spell has different parameter, requirements. The spells have AI, in a sense, so they know WHEN to auto-cast. Therefore you would have to create your own script that would tell that unit under what circumstances to cast that spell, when auto-cast is enabled.

2. Spells like Blizzard that require the person to stand still for the casting to keep working, would be constantly cast if there was an auto-cast for it. True there is cast delay, but it would auto-cast every chance it got, and the spell would be screwed

IF you want to do it the ghetto way, which I don't have perfected and I can't guarantee it's success, is to have a trigger that tells the unit to cast the spell/ability when an enemy, friendly, etc. comes into range, or whatever.