How To: Pick all units in playable map area "except yourself"???

addeownage

New Member
Reaction score
3
ive been working on a spell which reduces all stats of nearby heroes for 20 secs. the prob is, is reduces the casters attributes aswell :/.



:banghead::banghead::banghead::banghead::banghead:
 

Draphoelix

It's not the wintercold that's killing me
Reaction score
132
Try with:

Code:
Pick every unit in ((Playable area))
  Loop
  Add ((Picked Unit)) to AttriGroup

Pick every unit in ((AttriGroup))
  Loop
  Remove ((Triggering unit)) from Attri Group
   <Reduce stats actions>
 

addeownage

New Member
Reaction score
3
how do i

"Remove ((Triggering unit)) from Attri Group"

?
Cant find an action which removes a unit from a variable unit grp :/
 

PrisonLove

Hard Realist
Reaction score
78
you can set the casting unit to a variable and then you can pick every unit matching condition and make the condition picked unit not equal to variable (which owuld be your casting unit)
 

Draphoelix

It's not the wintercold that's killing me
Reaction score
132
Well I dunno if it got more functions but if you use pick every unit you have to pick rest of the actions inside the loop if you want to use the ((Picked unit)) action. If you use an action with ((Picked unit)) and it's outside the loop it won't work .. great.
 

Dameon

"All the power in the world resides in the eyes"
Reaction score
127
Just add the condition player not equal to owner of triggering unit.

or unit not owned by owner of triggering 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