HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

autocasting

12-24-2003, 03:46 AM#1
Randal
i gave a building an ability with autocast. i set the ability to detect self, structure and mechanical, but when i activate autocast, nothing happens. how can i get this ability to detect the building and autocast the spell?
12-24-2003, 04:17 AM#2
Ballsacian1-EoA
The autocast may only run if the building is attacked. Alot of autocast spells are like that on units. Which spell are you using?
12-24-2003, 06:38 AM#3
Randal
i copied the inner fire spell and erased all the values.

i want my stuff to happen like this:
i activate autocast, then the building automatically casts the spell (although i don't want the spell to actually do anying)
then use triggers to actually cast the spell;
EVENT:
unit begins casting spell
CONDITION:
spell being cast is equal to <blah>
ACTION:
triggering unit (a barracks) trains a footman every X seconds

EVENT:
units stops(or finishes - does it matter?) casting spell - meaning i've deactivated it
CONDITION:
spell being cast is equal to <blah>
ACTION:
turn off trigger 1 - that should make it stop training the footmen
turn on trigger 1 - turn it on again so i can continue to cast the spell


i don't care what spell i use, as long as it's autocast and it automatically starts casting the spell right away. if i could edit a spell so it trains the footmen on its own without using triggers that would be even better. maybe i should use a spell editor or something.
12-24-2003, 03:01 PM#4
Ballsacian1-EoA
See thatz what i thought inner fire requires some hostility in the area to make it start casting.
12-24-2003, 04:28 PM#5
Randal
i just tried using replenish mana (i gave the barracks some mana with no initial mana) and it still won't auto heal itself.
12-24-2003, 04:49 PM#6
AllPainful
Seems how you don't want it to do anything, why use an Autocast, use a spell that has an on and off mode (Immolation comes to mind...) Instead. Then it should work.
12-24-2003, 06:11 PM#7
Randal
i tried immolation, but i can't get it to stop. what happens is when i turn it on, the spell button goes "off" and i can't click it to actually turn it off. plus when i selected 5 barracks and did that spell, it lagged the game horrendously.