• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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