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

How to put Attack Button in SpellBook?

Status
Not open for further replies.
Level 7
Joined
Jul 20, 2009
Messages
295
I remember Xonok answered your question in your previous thread?
http://www.hiveworkshop.com/forums/2387049-post20.html.

Though, not the answer I'm looking for.
Xonok told me how to make an artificial Attack Button but not how to 'hide' the real one or put it in a spellbook BUT still showing the Damage of the unit. In other words, not setting the unit to 'Attacks Enabled: None'.
Also my previous thread was of a different content than this, so I had to create a new one.
 
Level 5
Joined
Nov 30, 2012
Messages
200
What if you made the unit classified as a ward (that should take away the attack button), and made an ability based off of channel to go inside your spellbook. Make a trigger that looks like this:


  • Spellbook Attack
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Channel (Attack)
    • Actions
      • Unit - Order (Casting unit) to Attack (Target unit of ability being cast)
Make sure to make the ability that's based off of channel a unit ability that's visible.
 
Status
Not open for further replies.
Top