• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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
 
Level 7
Joined
Jul 12, 2008
Messages
295
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?
 
Level 7
Joined
Jul 12, 2008
Messages
295
Use/Turn on works but how to detect if im autocasting them with pressing right clink on them?
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
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.
Top