Making Your Units Invulnerable To Your Units, How?
11-16-2002, 10:34 PM
#1
Guest
Is it possible to create a trigger that would make your own units invulnerable to your other units? I use bounty for all units and want to make sure people cannot kill their own units for gold.
Actions:
(must be the first one) If ((owner of killing unit) equal to (owner of dying unit)) (skip remaining actions) else (do nothing).
This should work like what you want. :gsmile:
11-16-2002, 10:46 PM
#3
Guest
i cant remember the exact triggers, but something like this should work:
EVENT
unit is issued an order targeting another unit
CONDITION
Owner of (targeting unit) equal to owner of (targeted unit)
issued order = attack
ACTIONS
order (targeting unit) to stop
-or-
order (targering unit) to move to position of (targeted unit)