Hello, how do i make this even work only one way? Like, if you enter, you lose HP, but if you leave later on, you dont lose HP.
-
Shallow Entrence
-

Events
-


Unit - A unit enters Forest Entrence Bot <gen>
-


Unit - A unit enters Forest Entrence Left <gen>
-


Unit - A unit enters Forest Entrence Top <gen>
-


Unit - A unit enters Forest Entrence Top2 <gen>
-


Unit - A unit enters Forest Entrence Right <gen>
-


Unit - A unit enters Forest Entrence Right top <gen>
-
-

Conditions
-


(Owner of (Entering unit)) Not equal to Player 12 (Brown)
-
-

Actions
-


Game - Display to (Player group((Owner of (Entering unit)))) for 10.00 seconds the text: You're entering sha...
-


Set VariableSet ShallowPoint[1] = (Position of (Entering unit))
-


Unit - Set life of (Entering unit) to ((Life of (Entering unit)) - 500.00)
-


Special Effect - Create a special effect at ShallowPoint[1] using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
-


Set VariableSet ShallowSPX = (Last created special effect)
-


Special Effect - Destroy ShallowSPX
-


Custom script: call RemoveLocation(udg_ShallowPoint[1])
-
-


