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

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