16 lines
394 B
Plaintext
16 lines
394 B
Plaintext
Scriptname _00E_StartDoorScript extends ObjectReference
|
|
int count
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
if count == 0
|
|
;Game.ShowRaceMenu()
|
|
Game.GetPlayer().SetActorValue("health", 50)
|
|
Game.GetPlayer().SetActorValue("Magicka", 50)
|
|
Game.GetPlayer().SetActorValue("Stamina", 50)
|
|
Game.GetPlayer().RemoveAllItems(abRemoveQuestItems = true)
|
|
endif
|
|
|
|
count = 1
|
|
|
|
endEvent |