Ambush?

Mmage

New Member
Reaction score
7
This is MMage, and i am working on a marine map. Is there a way to have a active (you have to actually use it) ability that makes you and all other heros near you have a Shadowmeld invisability? (the reason i say have a shadowmeld ability is that when you move, shadowmeld wears off.) If so, is there a way to do this without giving the heros/units involved a shadowmeld ability?
 

denmax

You can change this now in User CP.
Reaction score
155
If Shadow meld then it won't work on the day... And this is only what i got, sorry..

Code:
Events
 Unit - A unit starts the effect of an ability
Conditions
 (Ability being cast) Equal to [blah]
Actions
 Set VarUnitGroup = Units within [desired area] of Position of (Casting Unit) matching ((Matching Unit) belongs to an ally of (Owner of (Casting Unit)))
 Unit - Pick every unit in VarUnitGroup and do Add [Shadowmeld] to (Picked Unit)
 Wait [5] seconds
 Unit - Remove (Shadowmeld) from (Picked Unit)
 Custom Script: call DestroyGroup(udg_VarUnitGroup)
 

Mmage

New Member
Reaction score
7
Well i only said shadowmeld, the reason for that is becouse that when u mvoe shadowmeld is disabled. I need the thing to work on day also.
 

gref

New Member
Reaction score
33
Add the unit ability Ghost to all the units, then add a trigger that tests if they are issued an order, and if so remove Ghost.
 

waaaks!

Zinctified
Reaction score
255
yeah a custom shadow meld with levels creates bug, you can use Permanent Invi and remove it when the unit moves like what gref said
 

Mmage

New Member
Reaction score
7
Perment invis will stay forever until they move, thats good, but if they attack, they are still invis. That i was diffrent.

Oh i get it.

A Unit (moves/attacks/whatever)

remove (ghost) from unit

i get it now. I will check to see if that works.

I need to make sure that no unit can get through my "remove" trigger, so i added a few things. Can any1 make sure that no unit can get by this tigger without it affecting it?

Ambush Remove
Events
Unit - A unit Dies
Unit - A unit Spawns a summoned unit
Unit - A unit Acquires an item
Unit - A unit Uses an item
Unit - A unit Is attacked
Unit - A unit Is issued an order with no target
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order targeting an object
Conditions
Or - Any (Conditions) are true
Conditions
((Triggering unit) is in Ambushers) Equal to True
((Attacking unit) is in Ambushers) Equal to True
((Summoning unit) is in Ambushers) Equal to True
((Dying unit) is in Ambushers) Equal to True
((Attacked unit) is in Ambushers) Equal to True
((Buying unit) is in Ambushers) Equal to True
((Casting unit) is in Ambushers) Equal to True
((Ordered unit) is in Ambushers) Equal to True
Actions
Remove (Ghost) from (whatever unit)

^there it is.
 

Mmage

New Member
Reaction score
7
I am sry for double post, but i thought of something! Could the guy use Big Bad Voodoo, but make all invis with a shadowmeld thing instead of invul, including himself?
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
Ambush Remove
Events
Unit - A unit Dies
Unit - A unit Spawns a summoned unit
Unit - A unit Acquires an item
Unit - A unit Uses an item
Unit - A unit Is attacked
Unit - A unit Is issued an order with no target
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order targeting an object
Conditions
Or - Any (Conditions) are true
Conditions
((Triggering unit) is in Ambushers) Equal to True
((Attacking unit) is in Ambushers) Equal to True
((Summoning unit) is in Ambushers) Equal to True
((Dying unit) is in Ambushers) Equal to True
((Attacked unit) is in Ambushers) Equal to True
((Buying unit) is in Ambushers) Equal to True
((Casting unit) is in Ambushers) Equal to True
((Ordered unit) is in Ambushers) Equal to True
Actions
Remove (Ghost) from (whatever unit)
Wow; that's inefficient. The "Triggering Unit" event response exists for a reason:
Code:
Ambush Remove
    Events
        Unit - A unit Dies
        Unit - A unit Spawns a summoned unit
        Unit - A unit Acquires an item
        Unit - A unit Uses an item
        Unit - A unit Is attacked
        Unit - A unit Is issued an order with no target
        Unit - A unit Is issued an order targeting a point
        Unit - A unit Is issued an order targeting an object
    Conditions
        Or - Any (Conditions) are true
            Conditions
                ((Triggering unit) is in Ambushers) Equal to True
                ((Attacking unit) is in Ambushers) Equal to True
    Actions
        If (Attacking unit) equal to (No unit) then do (Unit - Remove (Ghost) from (Triggering Unit)) else do (Unit - Remove (Ghost) from (Attacking Unit))
 
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