Trap Spell - need help

feelthless

New Member
Reaction score
1
I am embarrassed.
I want to make a trap spell : <hero> sets trap and when an enemy unit comes too near to the trap, it being ensnared for X second.

Please help
 

UndeadDragon

Super Moderator
Reaction score
447
What about making a trigger so that when a unit comes near the trap, the unit gets paused?
 
S

Slate.Master

Guest
Make so that when a unit gets near the <trap> create a dummy and issue it to cast esnare on the triggering unit
 
M

mc117

Guest
create a spell based off a ward summon, and igve the ward Web (autocast)
 

feelthless

New Member
Reaction score
1
See guys i want to make this: (pls help with triggers if u can)

Cast spell > the unit throws ensnare <missile> and creates trap on the ground , using Ensnare <ground> as model. When a unit gets near to the trap all enemies within 300 AoE gets ensnared and meanwhile the trap is destroyed.
 

Sajberhippie

New Member
Reaction score
30
See guys i want to make this: (pls help with triggers if u can)

Cast spell > the unit throws ensnare <missile> and creates trap on the ground , using Ensnare <ground> as model. When a unit gets near to the trap all enemies within 300 AoE gets ensnared and meanwhile the trap is destroyed.

Use the Static Trap ward or whatever it's name is. The tier 2 spell for Witch Doctors. Check up what it's ability is, and change the abilitys duration to 0.1. Make your entangle spell, based on Raider's Ensnare or whatever its name is. A single target spell that is. Make a dummy unit if you don't have one. Make a trigger looking something like this:

Code:
Event - 
     A unit starts the effect of an ability
Condition - 
     Ability equal to "The static field lookalike you created"
Action - 
     Set Unit Group (TempGroup) to (All creatures within 300 of triggering unit)
     Pick every unit in (TempGroup) and do Actions:
        IF
           Triggering units controller is an enemy of owner of triggering unit
        Then
           Create 1 dummy for (owner of triggering player) at (picked unit)
           Add a 1.5 seconds expiration timer to (Last Created Unit)
           Give ability (Your Ensnare Spell) to (Last Created Unit)
           Order (Last Created Unit) to (Orc Raider - Ensnare) (Picked Unit)
      Custom Script: Destroy Group Thingie (i don't know it in my head, but it should be easy to find in some other thread here around)

Good luck!
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top