• 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.

[Trigger] Disabling Raise Dead Autocast

Status
Not open for further replies.
Level 4
Joined
Jan 27, 2008
Messages
72
Why doesn't this work?

  • Autocast Disabler
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(raisedeadon))
    • Actions
      • Custom script: call IssueImmediateOrder (GetTriggerUnit(), "raisedeadoff")
Trying to disable autocasting when it comes to raise dead, and this trigger doesn't seem to work for some reason.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
I think it happens because the order is detected in the triggering before it takes effect, so the trigger disables the ability before your actual order takes place in activating it.

Try using a 0.03 timer or wait before the disabling thing.
 
Level 4
Joined
Jan 27, 2008
Messages
72
I think it happens because the order is detected in the triggering before it takes effect, so the trigger disables the ability before your actual order takes place in activating it.

Try using a 0.03 timer or wait before the disabling thing.

This seems to be right. It works after adding a wait before turning the autocast off.

Thanks~
 
Status
Not open for further replies.
Top