enderalse/source/scripts/defaultstartsceneonaliasdeath.psc

11 lines
306 B
Plaintext
Raw Permalink Normal View History

Scriptname defaultStartSceneOnAliasDeath extends ReferenceAlias
{Starts a scene if the creature in this alias is killed be the player}
;Properties
Scene Property SceneToStart Auto
Event OnDeath(Actor akKiller)
if (akKiller == (Game.GetForm(0x14) as Actor))
SceneToStart.Start()
endif
endEvent