• 🏆 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!

[Solved] Help wtih adding a spell to an image (Spell Book involved)

Status
Not open for further replies.
Level 5
Joined
Oct 20, 2010
Messages
71
I've made a "lightning shield" ability using triggers, "spell book" and "permanent immolation" so that only enemy units take damage from the lightning shield. It seems to work perfectly except when cast on images - when it is cast on an image no lightning shield ability occurs for the target unit.

I've messed around and it seems that abilities can't be added to images (using GUI at least) so the problem is that even though the ability won't work when targeting an image, the player can still target an image to no effect and therefore "waste" a cast. There doesn't seem to be any "cannot target image" option in the "targets allowed" box for the spell in the object editor - I'm using the "channel" spell as a base.

What can I do do remedy this? Any help in solving the problem will be most appreciated. :)
 
Last edited:
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Untitled Trigger 01
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Issued order) Equal to (Order(holybolt))
      • ((Target unit of issued order) is an illusion) Equal to True
    • Actions
      • Unit - Pause (Triggering unit)
      • Unit - Order (Triggering unit) to Stop
      • Unit - Unpause (Triggering unit)
 
Status
Not open for further replies.
Top