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

Problem with trigger not creating unit

Status
Not open for further replies.
Level 6
Joined
Jul 13, 2006
Messages
140
So, for some reason this trigger doesn't create any unit at all.
I have used test messages and they displayed all the way through.

  • Trigger
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Ability
    • Actions
      • Set TempLoc = (Position of (Target unit of ability being cast))
      • Unit - Create 1 Unit for (Owner of (Casting unit)) at TempLoc facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
The dummy ability is based on the firebolt (neutral hostile) ability and only targets structures.
 
Status
Not open for further replies.
Top