requesting a trigger

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
requesting a trigger that will:

when a unit enters a region

entering unit is a hero.

silence that unit forever.

until that unit leaves the region.

or 2 triggers

when a unit enters a region, silence that unit forever

when a unit leaves a region, remove the silence from that unit



an idea how can i do this?
 

Furberg

Ultra Cool Member
Reaction score
45
Yeah:

Silence unit:

Code:
Unit enters "Silence Region"

triggering unit is a Hero equal to True

Create 1 Silence Caster dummy for player 1 at position of triggering unit facing default building degrees

Order last created unit to cast Silence - Dark Ranger at position of triggering unit

Add 2 second expiration timer for last created unit

The spell is a custom Silence that only works on Hero allies.

Code:
Unit leaves "Silence Region"

Triggering unit is a Hero equal to true

Remove buff (Silence) from triggering unit.

Say if you need more help.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top