Strings Help

Status
Not open for further replies.
Level 7
Joined
Jul 12, 2008
Messages
295
Hey guys i wanted to make an ability with Spirit Touch and Essence of Blight but can some 1 tell me what r the strings i mean for this condition:

(Issued order) Equal to (Order(?))



Some 1 plz help me
 
There are a lot of them:

Order String - Active
Order String - Deactivate
Order String - Turn off
Order String - Use/Turn On

What should i use?
 
Use/Turn on works but how to detect if im autocasting them with pressing right clink on them?
 
Most autocast spells have separate orders for turning on/off and casting. For example:

"heal" = heal a target (the actual casting of the spell)
"healon" = set heal to autocast
"healoff" = turn off heal autocast

You can't detect if a spell is currently on autocast, but you can detect when a unit turns autocast on or off. You could use this to store current autocast state in a variable...

In case of spirit touch, given those 4 order strings, I'd say "activate" actually casts the spell and "use/turn on" sets the spell on autocast.
 
Status
Not open for further replies.
Back
Top