HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Casting an ability using it's X, Y...

08-10-2009, 01:26 PM#1
rednek
I remember there was a JASS script that could make unit cast an ability that was at it's X, Y command-panel axis.

I mean, i don't know which ability does the unit has, but I know where it is placed, and so I could make the unit to cast it through triggers.
Does anybody know how to type that?

Um, sry I can't explain myself better, was it understandable?
08-10-2009, 01:33 PM#2
thehellman
I think what you are asking is, you want to be able to cast a unit's spell based on it's position on the command panel?

If so.. I don't know how to do it.
08-10-2009, 01:53 PM#3
Eleandor
For all I know, it's not possible.

What is possible is forcing an UI key to be pressed. E.g. Force Player X to press "T". If a paladin happens to be selected at that moment, the holy light target cursor will be selected (but not cast)
08-10-2009, 02:09 PM#4
rednek
Quote:
Originally Posted by thehellman
I think what you are asking is, you want to be able to cast a unit's spell based on it's position on the command panel?

Yup.

Quote:
Originally Posted by Eleandor
For all I know, it's not possible.

Damn, is there any other way to make unit cast an ability, when I don't know which ability doest the unit have at the moment, and I don't want to use any conditions?
08-10-2009, 02:29 PM#5
Viikuna-
I think you just gotta track units current abilities somehow and use normal issue order style.