Detect Spellbook and Auto-Cast

Status
Not open for further replies.
Level 2
Joined
Dec 25, 2008
Messages
24
Hi All!

Well, i wonder how can i to detect the spellbook ability, not detect an ability from the spellbook, just detect when it open and close (not the spellbook item)

I tried - With Order, and ability begin cast and more but nothing.

And is possible order to auto-cast an avility with triggers? (GUI)

Thanks!
 
Don't know how to detect spellbook ability. It might be possible though, but I don't have WE here at the moment.

To auto-cast an ability with triggers, you can use the "Unit - issue order" action and select the right base ability (e.g. Mountain King - Storm Bolt)

Mmmm, i want that automatic, for example, priest put auto-cast heal, is this possible with GUI?
 
Ah, so you want to turn autocast on/off through a trigger?

It's still the same idea: Unit - Issue an order with no target

Unit - Order (a unit) to Human Priest - Activate Heal
Unit - Order (a unit) to Human Priest - Deactivate Heal

Mmm, is possible with custom abilities?
 
Mmm, is possible with custom abilities?
yes, its possible. just put the order of the custom ability based for.
ex: you make custom searing arrow, then the order is:
  • Unit - Order (a unit) to Night Elf Priestess Of The Moon - Activate Searing Arrows
  • Unit - Order (a unit) to Night Elf Priestess Of The Moon - Deactivate Searing Arrows
and for detecting when unit open spell book
  • Detect Spell book
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (==) (Order(<your spell book order>))
    • Actions
spell book order can changed, but normally it's <spellbook>
 
yes, its possible. just put the order of the custom ability based for.
ex: you make custom searing arrow, then the order is:
  • Unit - Order (a unit) to Night Elf Priestess Of The Moon - Activate Searing Arrows
  • Unit - Order (a unit) to Night Elf Priestess Of The Moon - Deactivate Searing Arrows
and for detecting when unit open spell book
  • Detect Spell book
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (==) (Order(<your spell book order>))
    • Actions
spell book order can changed, but normally it's <spellbook>

Oh good, thanks.

So, can i turn On/Off auto cast a custom ability? because custom abilities doesnt appear where Searing Arrows are...
 
You need to use the base ability. If you based your custom spell off searing arrows, you use "Priestess - searing arrows on". If you based your spell off "heal", you use "Priest - activate heal", etc.

Also note that because of this, 2 abilities based on the same base ability will both fire at the same time. There's no way around, especially for autocast abilities. (Non-autocast abilities could be based off "channel")
 
P.S. : I dont think you can detect spell book opening because opening spell book order isnt sync I think. I think that because even if game lags like hell you open spell book right when you click it
 
(Detect Spellbook) - So, there is no way to detect open a spellbook ability...

(Auto Cast) - And, if the ability is like replenish?, that is not there...
 
Status
Not open for further replies.
Back
Top