enderalse/source/scripts/defaultclearlocationondeath.psc

7 lines
257 B
Plaintext

scriptName defaultClearLocationOnDeath extends Actor
{Sets the actor's location 'Cleared' when they are killed.}
Event OnDeath(Actor killer)
; ;Debug.Trace("Clearing Location: " + Self.GetCurrentLocation())
Self.GetCurrentLocation().SetCleared()
EndEvent