enderalse/source/scripts/_00e_testquest_functions.psc

181 lines
4.3 KiB
Plaintext
Raw Normal View History

Scriptname _00E_TestQuest_Functions extends Quest
Function StartEsmeScene()
Trailer_Esme_CampfireSC.ForceStart()
EndFunction
Function StartYuslanWalkingScene()
2023-12-08 02:45:53 +00:00
Trailer_Yuslan_REF.SetActorValue("SpeedMult", 0.80)
Trailer_Yuslan_REF.MoveTo(Trailer_Yuslan_WalkStartREF)
Trailer_Yuslan_MirrorSC.ForceStart()
EndFunction
Function StartEsmeLetterScene()
Esme.GetActorReference().MoveTo(Trailer_ChairREF)
Esme.GetActorReference().SetOutfit(_00E_FS_NQ02_EsmeArmorNoBackpack)
Trailer_Esme_Letter.ForceStart()
EndFunction
Function StartQalianScene()
Trailer_Qalian.ForceStart()
EndFunction
Function StartEsmeWalkingScene()
Esme.GetActorReference().AddItem(_00E_FS_NQ02_EsmeTorch, 1)
Esme.GetActorReference().EquipItem(_00E_FS_NQ02_EsmeTorch, true, true)
Esme.GetActorReference().MoveTo(Trailer_Esme_StartREF)
Utility.Wait(4.0)
Trailer_Esme_Walk.ForceStart()
if Trailer_Esme_Walk.IsPlaying()
; Debug.MessageBox("Trailer_Esme_Walk")
endif
EndFunction
Function StartYuslanQyraScene()
Trailer_Yuslan_REF.MoveTo(FS_NQ01_SC10_YuslanWalkMarker)
TestQuest_Scene.ForceStart()
EndFunction
Function StartYuslanDoorScene()
Trailer_Yuslan_REF.MoveTo(Trailer_Yuslan_BangDoorRef)
TestQuest_DoorScene.ForceStart()
EndFunction
Function TestLab()
Debug.MessageBox("Dammit.")
_00E_Theriantrophist_SummonPortableLaboratory_Target.Activate(Game.GetPlayer())
EndFunction
Function StartSeerScene()
TestQuest_Seer.ForceStart()
EndFunction
Function StartSlowMoScene()
2024-01-10 14:08:24 +00:00
FS_NQR05.SetCurrentStageID(320)
EndFunction
Function StartExecution()
MQ15_SC4_ChopHeadFailsave.SetValueInt(1)
choppingBlockREF001.Activate(ExecutioneeREF001)
choppingBlockREF001.Activate(ExecutionerREF001)
choppingBlockREF001.Activate(ExecutionerGuardREF001)
choppingBlockREF001.Activate(choppingBlockREF001)
EndFunction
Function KillRhalaim02()
int iButton = _00E_Test_KillMoveMSG.Show()
if iButton == 0
Tharael03.PlayIdleWithTarget(testIdle, Rhalaim03)
elseif iButton == 1
Tharael03.PlayIdleWithTarget(testIdle02, Rhalaim03)
elseif iButton == 2
Tharael03.PlayIdleWithTarget(testIdle03, Rhalaim03)
elseif iButton == 3
Tharael03.PlayIdleWithTarget(testIdle04, Rhalaim03)
elseif iButton == 4
Tharael03.PlayIdleWithTarget(testIdle05, Rhalaim03)
elseif iButton == 5
Tharael03.PlayIdleWithTarget(testIdle06, Rhalaim03)
endif
EndFunction
Function KillRhalaim()
int iButton = _00E_Test_KillMoveMSG.Show()
if iButton == 0
TharaelREF.PlayIdleWithTarget(testIdle, RhalaimRef001)
elseif iButton == 1
TharaelREF.PlayIdleWithTarget(testIdle02, RhalaimRef001)
elseif iButton == 2
TharaelREF.PlayIdleWithTarget(testIdle03, RhalaimRef001)
elseif iButton == 3
TharaelREF.PlayIdleWithTarget(testIdle04, RhalaimRef001)
elseif iButton == 4
TharaelREF.PlayIdleWithTarget(testIdle05, RhalaimRef001)
elseif iButton == 5
TharaelREF.PlayIdleWithTarget(testIdle06, RhalaimRef001)
endif
EndFunction
Message Property _00E_Test_KillMoveMSG Auto
Actor Property TharaelREF Auto
Actor Property RhalaimRef001 Auto
Actor Property Tharael03 Auto
Actor Property Rhalaim03 Auto
Idle Property testIdle Auto
Idle Property testIdle02 Auto
Idle Property testIdle03 Auto
Idle Property testIdle04 Auto
Idle Property testIdle05 Auto
Idle Property testIdle06 Auto
ObjectReference Property choppingBlockREF001 Auto
ACtor Property ExecutionerREF001 Auto
ACtor Property ExecutioneeREF001 Auto
ACtor Property ExecutionerGuardREF001 Auto
GlobalVariable Property MQ15_SC4_ChopHeadFailsave Auto
Quest Property FS_NQR05 Auto
Scene Property Trailer_Esme_CampfireSC Auto
Scene Property TestQuest_Seer Auto
Scene Property Trailer_Yuslan_MirrorSC Auto
Scene Property Trailer_Esme_Letter Auto
Scene Property Trailer_Qalian Auto
Scene Property Trailer_Esme_Walk Auto
Scene Property TestQuest_Scene Auto
Scene Property TestQuest_DoorScene Auto
ObjectReference Property _00E_Theriantrophist_SummonPortableLaboratory_Target Auto
ObjectReference Property TestLaboratory Auto
Light Property _00E_FS_NQ02_EsmeTorch Auto
Outfit Property _00E_FS_NQ02_EsmeArmorNoBackpack Auto
ReferenceAlias Property Esme Auto
ObjectReference Property FS_NQ01_SC10_YuslanWalkMarker Auto
ObjectReference Property Trailer_Yuslan_WalkStartREF Auto
ObjectReference Property Trailer_Esme_StartREF Auto
ObjectReference Property Trailer_ChairREF Auto
ObjectReference Property Trailer_Yuslan_BangDoorRef Auto
Actor Property Trailer_Yuslan_REF Auto