• 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.

[Trigger] Spell that teleports units

Status
Not open for further replies.
Level 2
Joined
Sep 22, 2010
Messages
9
Hello I'm creating a Td (Just for fun) And i crossed a problem which has been bothered me, Creeps getting stuck in the Waypoint regions. So i wanted to create a Antistuck system which teleports the units in antistuck region to the waypoint region.

So basically i want the units to move to Waypoint 1 then waypoint 2 etc.. like a normal TD
But if the creeps are stuck you can use the antistuck spell(which is a 9999 aoe thunderclap)

I want the units that are in Antistuck to move back to the waypoint when i use the spell Antistuck to re-enable the trigger so they cant continue their path to the end.
I've been trying to solve this for hours now and i cant find anything online and some help would be greatly appreciated.
 

Attachments

  • fdg 3.png
    fdg 3.png
    93.2 KB · Views: 71
  • Pdg 3.png
    Pdg 3.png
    3 MB · Views: 92
Level 2
Joined
Sep 22, 2010
Messages
9
  • Antistuck region
    • Events
      • Unit - A unit enters Antistuck 1 <gen>
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Antistuck
      • (Owner of (Triggering unit)) Equal to Player 12 (Brown)
    • Actions
      • Unit - Move (Triggering unit) instantly to (Center of Waypoint1 <gen>)
Still dosent work :( Im not sure what im doing wrong here
 
Level 2
Joined
Sep 22, 2010
Messages
9
Im sorry for being even more stupid now , but i can only find
  • (Antistuck 1 <gen> contains (Triggering unit)) Equal to True
And it's still not working.
 
Level 2
Joined
Sep 22, 2010
Messages
9
  • Antistuck region
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Antistuck 1 <gen> contains (Triggering unit)) Equal to True
      • (Ability being cast) Equal to Antistuck
      • (Owner of (Triggering unit)) Equal to Player 12 (Brown)
    • Actions
      • Unit - Move (Triggering unit) instantly to (Center of Waypoint1 <gen>)
I tried to disable (Owner of (Triggering unit)) Equal to Player 12 (Brown) but even then it's not working. Or should i maybe use a different spell? Like blizzard
 
Level 2
Joined
Sep 22, 2010
Messages
9
Tyvm! Im not sure what the rep thingie does but ill rep both of you, Sry for being a bit stupid im new to the map editor.
 
Status
Not open for further replies.
Top