• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] target unit of ability being cast

Status
Not open for further replies.
Level 2
Joined
May 19, 2008
Messages
18
  • Events
  • unit - a unit finishes casting an ability
  • Conditions
  • (Ability being cast) Equal to Pass Ball
  • Actions
  • Hero - Drop (Item carried by (Triggering unit) of type Zugball) from (Triggering unit)
  • Item - Remove (Last dropped item)
  • Hero - Create Zugball and give it to (Target unit of ability being cast)
For some reason, instead of creating a new item for the target, it simply puts an item in the middle of the map. wtf?
I have also tried
  • Item - Create Zugball at (Position of (Target unit of ability being cast))
and it does the exact same thing. For some reason, warcraft is confused about the location of this unit. Anyone know what's up?
 
Level 2
Joined
May 19, 2008
Messages
18
*sigh*
I feel like a moron, as per usual.
it has a three second casting time, so I just had to set a "balltarget" variable upon "starts casting" and then use that in my "finish casting" trigger.

Thanks Purple!
 
Status
Not open for further replies.
Top