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

Ability Setup Problem

Status
Not open for further replies.
Level 5
Joined
Jul 2, 2005
Messages
60
Hiho,

ok so i want my hero ability( a ) to select another unit if its pressed ... and the selected unit ( b) got a spell to reselect!

But the unit b got other spells too .... based on the same spell ( channel )....

Everytime i use a spell on unit b the trigger fires .... i dont understand it because they have a different spell id .... usually it works like i did it there. ( screenshot )

I dont understand it , please help!!


EDIT: Fixed it with changing the basic command to another ...
 

Attachments

  • Screen.jpg
    Screen.jpg
    135.9 KB · Views: 63
Last edited:
Level 2
Joined
Jan 13, 2008
Messages
13
Why don't you use GUI for this?

  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Ability
      • (Casting unit) Equal to Unit[a]
    • Actions
      • Selection - Select Unit[b] for (Owner of (Casting unit))
base the ability off of thunderclap or something
 
Status
Not open for further replies.
Top