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

Channel Ability - Cursor not appearing.

Status
Not open for further replies.
Level 5
Joined
Mar 24, 2020
Messages
80
Hi!

I've created an ability using Channel.

The point of the Ability is for it to target a tree and then for the tree to be removed simply with triggers. This is a work around for 'Eat Tree' as the unit needs to gather as well, and "Eat Tree" is used on a right click instead of gather.

The issue I'm having is that the spell removes the cursor when clicked. The cursor can only been seen via the top menu and over the ability panel. But, it cannot select a tree as it disappears.

Is there an option in the object editor that I'm missing to enable this?

Thank you.
 
Level 5
Joined
Mar 24, 2020
Messages
80
Thanks Uncle that sorted it! The issue i've got now is that is doesn't allow me to actually target a tree. I've got Tree, Dead and Alive selected in the Targets Allowed, but still no luck.

Sorry i'm quite new to developing custom spells to an extent.
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,534
I was worried about that. You could use the Sentinel ability instead, setting the Duration to 0.001 and removing all unwanted effects.

Edit: Nevermind, just re-read your post and I see that you're trying to avoid Right Click issues that these abilities cause. Not too sure how to get around this.

Maybe you could re-direct the Sentinel/Eat Tree order to be replaced with Gather whenever you right click a tree.
  • Example
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Issued order) Equal to (Order(sentinel))
    • Actions
      • Unit - Order (Ordered unit) to Harvest (Target destructible of issued order)
Not sure where to go from there.
 
Last edited:
Level 5
Joined
Mar 24, 2020
Messages
80
Yeah it's a strange one! I think I'm just going to give an item to the unit and then encourage removing a tree that way. A lot cleaner I think and it saves trying to manipulate a variety of triggers for the same effect.
Thanks for your help anyway!
 
Status
Not open for further replies.
Top