Help! Unit spawns direclty after death?

LoveRPG

Member
Reaction score
6
But seriously... U cant set the condition to that exact unit and then create a new unit.... U need to set the the condition to unit-type instead of unit... Since it is a new unit when it is created as new... Also dont use region when doing a temporary point, use the point variable and name it: TempPoint. This will make the unit respawn more then 1 time^^ An easy thing to make the killing unit get money is to make action: Add X gold to (Owner of(killing unit)) inside the same trigger.
 

LordXavier

TH.net Regular
Reaction score
16
RemoveLocation only works if the variable is a Point variable.
try
Trigger:
  • Custom Script: call RemoveRect (udg_TempPoint)
 

grognog

New Member
Reaction score
1
Can't you just do this?
Code:
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
Wait 10.00 seconds
Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at (Position of (Triggering unit)) facing (Random angle) degrees
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top