Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
On Unit Removed Event?
On Unit Removed Event?
08-21-2007, 06:14 PM
#1
cohadar
Is there something like this, some system perhaps?
08-21-2007, 06:29 PM
#2
SkriK
Um, not sure i understand the question. Could you rephrase it?
08-21-2007, 06:43 PM
#3
cohadar
Can I detect when unit is being removed from the game?
Either by using RemoveUnit() or after it dies and decays and everything...
08-21-2007, 06:58 PM
#4
Dil999
Simply kill it THEN remove it, which will register in A Unit Dies events.
08-21-2007, 07:05 PM
#5
cohadar
And what if it is already dead?
nwm...
08-21-2007, 07:32 PM
#6
DioD
My system for cleaning removed units, commented, just run in game, also you may use more advanced options, map free to edit.
Attached Files
Handle ward.w3x
(24.0 KB)
08-21-2007, 11:13 PM
#7
TaintedReality
Isn't it just "A unit leaves rect - playable map area"? Dead units are still in the rect so this would be when units are completely gone.