HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do i check what spell is currently on autocast on a unit?

03-11-2004, 09:30 AM#1
cangrejo
HELP! :::::EE

(:E) (:E) (:E)

:EEEEEEE

i O.o On you!

Does anyone know how I check what spell is set to auto-cast on a unit? (I mean, with triggers, not just with my eyes in-game)
The reason I need this is because I want to make a tower defense, and I want the towers to have multiple spells, and I want the user to choose what spell that he wants to auto-cast. So, is there a way to check?

Yuppppp please tell me (:E)

PS. the :E smiley is Zoidberg from futurama.. he's teh COOLEST
03-11-2004, 03:22 PM#2
Kamux
You can make a trigger to detect if a unit is ordered an autocast.

And next time: Don't overuse color.
03-11-2004, 03:48 PM#3
cangrejo
Quote:
Originally Posted by Kamux
You can make a trigger to detect if a unit is ordered an autocast.

" Don't overuse color " if i want to make what impression? I like color ok?

ANywa if by trigger you mean

Code:
Event Unit is attacked
Condition order of(Attacking unit) Equal to order(faerifireon)
ACtions

It doesn't work.. If you mean an other trigger, please tell me..

Also, i like colors, and i used them so that you shoud be able to sort out my actual question from the spam

Ps. White is also a color.
03-11-2004, 04:31 PM#4
Kamux
OK, if you want to use color, then you may use it, but some pople use it a little too much.

I meant an other trigger like:

Even
Unit is issued an order with no target
Condition
Order equals to <order>
Action
Set <your variable> to true/false