parent
41c56c742d
commit
ecb1036105
19 changed files with 101 additions and 79 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,5 @@ |
||||
Scriptname _00E_EnderalControls extends Quest Hidden |
||||
|
||||
_00E_FadeToBlackControl Property FadeToBlackControl Auto |
||||
|
||||
_00E_TeleportPlayer Property TeleportPlayer Auto |
||||
|
@ -0,0 +1,89 @@ |
||||
Scriptname _00E_TeleportPlayer extends Quest Hidden |
||||
|
||||
import Utility |
||||
|
||||
Function TeleportPlayer(ObjectReference TeleportTarget) |
||||
|
||||
Game.DisablePlayerControls(abCamSwitch = true) |
||||
Wait(3) |
||||
If PlayerREF.IsWeaponDrawn() |
||||
PlayerREF.SheatheWeapon() |
||||
EndIf |
||||
Wait(2) |
||||
TeleportIn() |
||||
PlayerREF.MoveTo(TeleportTarget) |
||||
TeleportOut() |
||||
|
||||
_00E_QuestFunctions.RefreshFace() |
||||
|
||||
EndFunction |
||||
|
||||
Function TeleportIn() |
||||
|
||||
Game.ForceThirdPerson() |
||||
|
||||
if Player.GetSex() == 0 |
||||
PlayerREF.PlayIdle(IdleT02AscendMale) |
||||
Else |
||||
PlayerREF.PlayIdle(IdleT02AscendFemale) |
||||
EndIf |
||||
|
||||
_00E_MagicProtectionSpellM.Play(PlayerREF) |
||||
Wait(2.7) |
||||
TimeFadeOut01FXS.Play(PlayerREF) |
||||
Wait(1.3) |
||||
_00E_TeleportImod.Apply() |
||||
Wait(2) |
||||
|
||||
EndFunction |
||||
|
||||
Function TeleportOut() |
||||
|
||||
_00E_A2_Ghostwalk_TeleportDoneSound.Play(playerREF) |
||||
PlayerREF.PlaceAtMe(_00E_NPCOorbayaTeleportExplosionBlue, 1) |
||||
Debug.sendAnimationEvent(playerREF, "IdleWebEnterInstant") |
||||
PlayerREF.setActorValue("Variable03", 5) |
||||
TimeFadeOut01FXS.Stop(PlayerREF) |
||||
TimeFadeIn01FXS.Play(PlayerREF) |
||||
Wait(0.5) |
||||
PlayerREF.playidle(WebIdleExit) |
||||
TimeFadeIn01FXS.Stop(PlayerREF) |
||||
PlayerREF.setActorValue("Variable03", 0) |
||||
PlayerREF.DrawWeapon() |
||||
Wait(3) |
||||
Debug.SendAnimationEvent(PlayerREF, "IdleForceDefaultState") |
||||
PlayerREF.PlayIdle(IdleForceDefaultState) |
||||
PlayerREF.setActorValue("Variable03", 0) |
||||
Game.EnablePlayerControls() |
||||
_FS_Phasmalist_ControlQuest.MoveApparitionToPlayer() |
||||
RegisterForSingleUpdate(2) |
||||
|
||||
EndFunction |
||||
|
||||
Event OnUpdate() |
||||
Game.EnablePlayerControls() |
||||
EndEvent |
||||
|
||||
actor Property PlayerRef Auto |
||||
|
||||
Idle Property IdleT02AscendMale Auto |
||||
|
||||
Idle Property IdleT02AscendFemale Auto |
||||
|
||||
Sound Property _00E_MagicProtectionSpellM Auto |
||||
|
||||
EffectShader Property TimeFadeOut01FXS Auto |
||||
|
||||
ImageSpaceModifier Property _00E_TeleportImod Auto |
||||
|
||||
Sound Property _00E_A2_Ghostwalk_TeleportDoneSound Auto |
||||
|
||||
Explosion Property _00E_NPCOorbayaTeleportExplosionBlue Auto |
||||
|
||||
EffectShader Property TimeFadeIn01FXS Auto |
||||
|
||||
Idle Property WebIdleExit Auto |
||||
|
||||
Idle Property IdleForceDefaultState Auto |
||||
|
||||
ActorBase Property Player Auto |
Loading…
Reference in new issue