i have a unit safed in a global, then this unit gets removed, whats left in the global? its not null..
i found: http://www.thehelper.net/forums/sho...-to-check-if-a-unit-was-removed-from-the-game
but it doesnt work, tested it with:
call BJDebugMsg(I2S(GetUnitTypeId(theunit)))
call RemoveUnit(theunit)
call BJDebugMsg(I2S(GetUnitTypeId(theunit)))
they both same id
any idea?
i found: http://www.thehelper.net/forums/sho...-to-check-if-a-unit-was-removed-from-the-game
but it doesnt work, tested it with:
call BJDebugMsg(I2S(GetUnitTypeId(theunit)))
call RemoveUnit(theunit)
call BJDebugMsg(I2S(GetUnitTypeId(theunit)))
they both same id
any idea?