• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Goblin Zeplin Not Unloading

Status
Not open for further replies.
Level 10
Joined
Jan 21, 2007
Messages
575
Ok i have a spell for one of the heroes in my map, the zeplin loads the unit but then stays in the same spot doing nothing, whats wrong?

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Level of Flare for (Casting unit)) Equal to 1
    • Then - Actions
      • Set L = ((Target point of ability being cast) offset by (-1000.00, 0.00))
      • Unit - Create 1 Battle Golem for (Owner of (Casting unit)) at L facing Default building facing degrees
      • Set FlareUnits[1] = (Last created unit)
      • Unit - Create 1 Goblin Zeppelin for (Owner of (Casting unit)) at L facing Default building facing degrees
      • Set FlareUnits[2] = (Last created unit)
      • Custom script: call RemoveLocation(udg_L)
      • Unit - Order FlareUnits[2] to Load FlareUnits[1]
      • Set L = (Target point of ability being cast)
      • Unit - Order FlareUnits[2] to Unload All At L
      • Custom script: call RemoveLocation(udg_L)
    • Else - Actions
 
Try using diferent location variables cuz sometimes, at least for me, bugged when i would remove a location and then i used the same variable for another location in the same trigger.
 
Tried the trigger in newmap gen, in the map when playing it would say double free location, so i used 2 point variables and it works. Thanks for the suggestions.
 
Status
Not open for further replies.
Back
Top