• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! 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