unit remove on enter region/rect

wassat676

New Member
Reaction score
3
Code:
    Events
        Unit - A unit enters heavstart <gen>
    Conditions
        (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
    Actions
        Unit - Remove (Triggering unit) from the game

This is supposed to remove a wisp at the start of the game that belongs to a computer, but it doesnt, why? (this is the only unit controlled by dark green in the region)
 
P

Pawnable

Guest
Is the wisp already in the region? You must make it appear on it or move on it... not make it already start there.
 
M

Mini-Me

Guest
If you have already preplaced the unit on to the region before the map starts, it never 'enters' the region so the event doesnt fire.
 

wassat676

New Member
Reaction score
3
what kind of noob do u take me for, of course its not preplaced, it enters that region on the map initialization, and mini-me, dont reply to my posts anymore
 
M

Mythic Fr0st

Guest
Hmm

I see "Owner of triggering unit" Not entering unit, Entering unit responds to a unit entering region :p

XD hope that fixed it

Edit - oh and Change remove "Entering" unit from game too
 

wassat676

New Member
Reaction score
3
sorry, it didnt :( i guess entering unit is the same as triggering unit in this case since entering the region was the trigger, maybe there is another way, like i can clear all units belonging to dark green because the wisp at the beggining of the map is the only 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