enderalse/source/scripts/defaultclearlocationondeathrefalias.psc

6 lines
218 B
Plaintext
Raw Permalink Normal View History

scriptName defaultClearLocationOnDeathRefAlias extends ReferenceAlias
{Sets the alias' location 'Cleared' when it is killed.}
Event OnDeath(Actor killer)
Self.GetReference().GetCurrentLocation().SetCleared()
EndEvent