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

A Stasis Trap that Ensares

Status
Not open for further replies.

Jocafer

J

Jocafer

So guys I have this problem with an activated item that I created. Basically what it does is that when it is used, the unit will be able to drop a Snare Trap(based off Stasis Trap default unit) at a location. I have done up to that part but I have a problem with the trap because it does not ensnare when an enemy unit comes near it.

These are the abilities that I put in the Snare Trap unit's "Abilities - Normal":
- Mine-exploding (Gobline Land Mine)
- Ensnare
- Ensnare
- Ensnare (Neutral Hostile)
- Ghost (Visible)

This is the trigger that I made for it.

Event - A unit Dies
Conditions - (Unit type of (Triggering unit)) Equal to Snare Trap
Action -

1.)

Set st_grp = (Units within 200.00 of (Position of (Triggering unit)) matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True
and
Matching unit is alive = True
and
Matching unit is a structure = False

2.)

Unit - Pick every unit st_grp and do (Unit - Order (Triggering unit) to Orc Raider - Ensnare (Matching unit))






^ Not working D: Please help.
 
The unit u use already died in the first place, you must use dummy
Use action:
Unit - create unit at rect facing angle bla bla
A died unit can't use any ability
The statis trap is died when triggered to stunning an enemy

Ahh! Woops! Thank you! :D
 
Status
Not open for further replies.
Back
Top