I've recently come back in triggering. But I've kind of forgot, how to remove leaks.
So this is how it looks like currently.
(Variable - Point (Name: Point))
Or have I done it right?
I'm very unsure.
Also, if I use the same variable for other triggers. Will that cause any conflicts if used in the same way as shown above?
Thanks in Advance
So this is how it looks like currently.
(Variable - Point (Name: Point))
-
Events:
- Unit - A unit Dies
- Condition:
-
Actions:
- Set Point = (Position of (Dying Unit))
- If ((Random integer number between 1 and 3) Equal to 1) then do (Item - Create "Item" at Point) else do (Do nothing)
- Custom script: call RemoveLocation(udg_Point)
Or have I done it right?
I'm very unsure.
Also, if I use the same variable for other triggers. Will that cause any conflicts if used in the same way as shown above?
Thanks in Advance
Last edited: