Compare commits

...

3 Commits

51 changed files with 80 additions and 118 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -4797,4 +4797,5 @@ scripts\pf_mq14_sc06_toriusstandstil_0003c597.pex
scripts\_00E_UpdateSpeedmult.pex scripts\_00E_UpdateSpeedmult.pex
scripts\_00E_AutolearnEffectsAlias.pex scripts\_00E_AutolearnEffectsAlias.pex
scripts\_00E_ArcaneArrowEffect.pex scripts\_00E_ArcaneArrowEffect.pex
scripts\_00E_AlchArcaneFever.pex scripts\_00E_AlchArcaneFever.pex
scripts\_00E_HelpMessage.pex

View File

@ -9,8 +9,7 @@ EndFunction
Function ShowBrawlTutorial() Function ShowBrawlTutorial()
If _00E_DisableSkillTutorials.GetValueInt() == 0 If _00E_DisableSkillTutorials.GetValueInt() == 0
Message.ResetHelpMessage("Brawl") _00E_HelpMessage.Show(_00E_Tutorial_Brawl, 3)
_00E_Tutorial_Brawl.ShowAsHelpMessage("Brawl", 3, 3, 1)
EndIf EndIf
EndFunction EndFunction

View File

@ -1,7 +1,7 @@
Scriptname _00E_EngineBugfixAlias extends ReferenceAlias Hidden Scriptname _00E_EngineBugfixAlias extends ReferenceAlias Hidden
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
Event OnInit() Event OnInit()
@ -21,7 +21,7 @@ Event OnPlayerLoadGame()
_ResetPerk(PlayerREF, _00E_Class_Vagrant_P05_B_Lightweight) _ResetPerk(PlayerREF, _00E_Class_Vagrant_P05_B_Lightweight)
EndIf EndIf
; ResetHelpMessage crashes the game when called in menu mode, for instance, when loading a savegame fails due to missing mods ; Wait for game mode
Utility.Wait(0.05) Utility.Wait(0.05)
; If a help message is visible during game reload, it gets stuck on screen ; If a help message is visible during game reload, it gets stuck on screen
@ -44,8 +44,7 @@ EndFunction
Event _ClearStuckHelpMessages() Event _ClearStuckHelpMessages()
if EnderalFunctions.GetNewGameCount() > 1 if EnderalFunctions.GetNewGameCount() > 1
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(_00E_EmptyMessage, 0.1)
_00E_EmptyMessage.ShowAsHelpMessage("Empty", 0.1, 10, 1)
endif endif
EndEvent EndEvent

View File

@ -0,0 +1,7 @@
Scriptname _00E_HelpMessage
Function Show(Message aMsg, float afDuration, float afInterval = 1.0, int aiMaxTimes = 1) global
aMsg.ShowAsHelpMessage("MessageId" + Utility.GetCurrentGameTime(), afDuration, afInterval, aiMaxTimes)
endfunction

View File

@ -16,7 +16,7 @@ int IntimidationsCounter = 0
int QuestsCompletedCounter = 0 int QuestsCompletedCounter = 0
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -115,8 +115,7 @@ State RealPlayer
if ShowEXPMessage == False && PlayerEXP.GetValue() >= 120 && (_00E_DisableQuestTutorials.GetValueInt() == 0) if ShowEXPMessage == False && PlayerEXP.GetValue() >= 120 && (_00E_DisableQuestTutorials.GetValueInt() == 0)
ShowEXPMessage = true ShowEXPMessage = true
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(_00E_Tutorial_EPSystem, 4)
_00E_Tutorial_EPSystem.ShowAsHelpMessage("Empty", 4.0, 3.0, 1)
EndIf EndIf
If _00E_OreVeinsMined.GetValueInt() >= 50 && !bOreAchievementUnlocked If _00E_OreVeinsMined.GetValueInt() >= 50 && !bOreAchievementUnlocked
@ -157,8 +156,7 @@ State RealPlayer
iArcaneFeverWarnCounter -= 1 iArcaneFeverWarnCounter -= 1
If iArcaneFeverWarnCounter <= 0 If iArcaneFeverWarnCounter <= 0
iArcaneFeverWarnCounter = 20 iArcaneFeverWarnCounter = 20
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(_00E_Player_sArcaneFever_Critical, 5)
_00E_Player_sArcaneFever_Critical.ShowAsHelpMessage("Empty", 5, 1, 1)
EndIf EndIf
Else ; iArcaneFever < 90 Else ; iArcaneFever < 90
iArcaneFeverWarnCounter = 0 ; Reset iArcaneFeverWarnCounter = 0 ; Reset
@ -167,8 +165,7 @@ State RealPlayer
If iArcaneFever >= 40 If iArcaneFever >= 40
If Player.HasSpell(_00E_Arkanistenfieber40) == False If Player.HasSpell(_00E_Arkanistenfieber40) == False
Player.AddSpell(_00E_Arkanistenfieber40,0) Player.AddSpell(_00E_Arkanistenfieber40,0)
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(_00E_Player_sArcaneFever_Worsen, 3)
_00E_Player_sArcaneFever_Worsen.ShowAsHelpMessage("Empty", 3, 1, 1)
EndIf EndIf
Else ; iArcaneFever < 40 Else ; iArcaneFever < 40
If Player.HasSpell(_00E_Arkanistenfieber40) If Player.HasSpell(_00E_Arkanistenfieber40)
@ -180,8 +177,7 @@ State RealPlayer
If iArcaneFever >= 70 If iArcaneFever >= 70
If Player.HasSpell(_00E_Arkanistenfieber70) == False If Player.HasSpell(_00E_Arkanistenfieber70) == False
Player.AddSpell(_00E_Arkanistenfieber70,0) Player.AddSpell(_00E_Arkanistenfieber70,0)
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(_00E_Player_sArcaneFever_Worsen, 4)
_00E_Player_sArcaneFever_Worsen.ShowAsHelpMessage("Empty", 4, 1, 1)
EndIf EndIf
Else ; iArcaneFever < 70 Else ; iArcaneFever < 70
If Player.HasSpell(_00E_Arkanistenfieber70) If Player.HasSpell(_00E_Arkanistenfieber70)

View File

@ -1,7 +1,7 @@
Scriptname _00E_FS_NQ01_Functions extends Quest Conditional Scriptname _00E_FS_NQ01_Functions extends Quest Conditional
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -557,7 +557,7 @@ Function UpdateObjectives02()
IncreaseArcaneFever(10, 90) IncreaseArcaneFever(10, 90)
_00E_FS_NQ01_RespectedYuslansWish.SetValueInt(1) _00E_FS_NQ01_RespectedYuslansWish.SetValueInt(1)
_00E_FS_NQ01_YuslanThought.ShowAsHelpMessage("Jump", 5, 1, 1) _00E_FS_NQ01_YuslanThought.ShowAsHelpMessage("_00E_FS_NQ01_YuslanThought", 5, 1, 1)
SetObjectiveCompleted(50) SetObjectiveCompleted(50)
SetObjectiveDisplayed(55, False) SetObjectiveDisplayed(55, False)
SetObjectiveDisplayed(60) SetObjectiveDisplayed(60)

View File

@ -505,7 +505,6 @@ EndFunction
Function ShowThoughts() Function ShowThoughts()
; Message.ResetHelpMessage("Empty")
; _00E_FS_NQ07_Thoughts.ShowAsHelpMessage("Empty", 5, 1, 1) ; _00E_FS_NQ07_Thoughts.ShowAsHelpMessage("Empty", 5, 1, 1)
EndFunction EndFunction

View File

@ -3,7 +3,7 @@ scriptName _00E_MQ01_Functions extends Quest Conditional
Import Utility Import Utility
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -24,8 +24,7 @@ EndFunction
Function ShowDialogueTutorial() Function ShowDialogueTutorial()
Message.ResetHelpMessage("Empty") _00E_MQP03_Tutorial_Dialogues.ShowAsHelpMessage("_00E_MQP03_Tutorial_Dialogues", 5 as Float, 1 as Float, 1)
_00E_MQP03_Tutorial_Dialogues.ShowAsHelpMessage("Empty", 5 as Float, 1 as Float, 1)
EndFunction EndFunction
@ -41,8 +40,7 @@ Function BeginHeadache()
_00E_BlitzheilungArkanistenfieber_sFeverIncreased.Show(15.0, -1*PlayerREF.GetActorValue("LastFlattered")) _00E_BlitzheilungArkanistenfieber_sFeverIncreased.Show(15.0, -1*PlayerREF.GetActorValue("LastFlattered"))
debug.SendAnimationEvent(PlayerREF as objectreference, "StaggerPlayer") debug.SendAnimationEvent(PlayerREF as objectreference, "StaggerPlayer")
MagVampireSunlight.Play(PlayerREF as objectreference) MagVampireSunlight.Play(PlayerREF as objectreference)
Message.ResetHelpMessage("Empty") _00E_MQ01_ThoughtsHeadache.ShowAsHelpMessage("_00E_MQ01_ThoughtsHeadache", 3 as Float, 1 as Float, 1)
_00E_MQ01_ThoughtsHeadache.ShowAsHelpMessage("Empty", 3 as Float, 1 as Float, 1)
_00E_MQ01_HeadacheShort.apply(1.00000) _00E_MQ01_HeadacheShort.apply(1.00000)
Wait(1) Wait(1)
SoundID01 = UIHealthHeartbeatALP.Play(PlayerREF as objectreference) SoundID01 = UIHealthHeartbeatALP.Play(PlayerREF as objectreference)

View File

@ -3,12 +3,10 @@ Scriptname _00E_MQ08TriggerHouse extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef) Event OnTriggerEnter(ObjectReference akActionRef)
if MQ08_IntoTheDeep.GetCurrentStageID() == 180 && akActionRef == Game.GetPlayer() && DoOnce == False if MQ08_IntoTheDeep.GetCurrentStageID() == 180 && akActionRef == Game.GetPlayer() && DoOnce == False
Message.ResetHelpMessage("Jump")
_00E_MQ08_HouseMessage01.ShowAsHelpMessage("Jump", 2, 1, 1)
DoOnce = True DoOnce = True
_00E_MQ08_HouseMessage01.ShowAsHelpMessage("_00E_MQ08_HouseMessage01", 2, 1, 1)
Utility.Wait(2.0) Utility.Wait(2.0)
Message.ResetHelpMessage("Jump") _00E_MQ08_HouseMessage02.ShowAsHelpMessage("_00E_MQ08_HouseMessage02", 2, 1, 1)
_00E_MQ08_HouseMessage02.ShowAsHelpMessage("Jump", 2, 1, 1)
Utility.Wait(3.0) Utility.Wait(3.0)
MQ08_IntoTheDeep.SetCurrentStageID(185) MQ08_IntoTheDeep.SetCurrentStageID(185)
EndIf EndIf
@ -18,4 +16,4 @@ EndEvent
Message Property _00E_MQ08_HouseMessage01 Auto Message Property _00E_MQ08_HouseMessage01 Auto
Message Property _00E_MQ08_HouseMessage02 Auto Message Property _00E_MQ08_HouseMessage02 Auto
Quest Property MQ08_IntoTheDeep Auto Quest Property MQ08_IntoTheDeep Auto
Bool DoOnce Bool DoOnce

View File

@ -4,8 +4,7 @@ Scriptname _00E_MQ10b_LishariTriggerbox extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef) Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer() && MQ10b.GetCurrentStageID() == 70 && DoOnce == 0 if akActionRef == Game.GetPlayer() && MQ10b.GetCurrentStageID() == 70 && DoOnce == 0
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(_00E_MQ10b_ThiningMessage01, 3)
_00E_MQ10b_ThiningMessage01.ShowAsHelpMessage("Empty", 3, 2, 1)
_00E_MC_YuslanRef.EnableNoWait() _00E_MC_YuslanRef.EnableNoWait()
_00E_MC_YuslanRef.MoveTo(mq10bYuslanPortDeathscene) _00E_MC_YuslanRef.MoveTo(mq10bYuslanPortDeathscene)
Game.DisablePlayerControls() Game.DisablePlayerControls()

View File

@ -6,7 +6,7 @@ Import Debug
Import _00E_PlayerFunctions Import _00E_PlayerFunctions
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -510,9 +510,8 @@ EndFunction
Function ShowTutorialMessage02() Function ShowTutorialMessage02()
Message.ResetHelpMessage("MQ11a_TutorialCrosshair")
If _00E_DisableQuestTutorials.GetValueInt() == 0 If _00E_DisableQuestTutorials.GetValueInt() == 0
_00E_MQ11a_TutorialArrows.ShowAsHelpMessage("MQ11a_TutorialArrows", 5, 5, 1) _00E_MQ11a_TutorialArrows.ShowAsHelpMessage("MQ11a_TutorialArrows", 5, 1, 1)
EndIf EndIf
EndFunction EndFunction
@ -543,10 +542,6 @@ EndFunction
Function ExplodeGears() Function ExplodeGears()
UnregisterForUpdate() UnregisterForUpdate()
Message.ResetHelpMessage("MQ11a_TutorialArrows")
Message.ResetHelpMessage("MQ11a_TutorialCrosshair")
Message.ResetHelpMessage("Telekinesis")
Wait(1) Wait(1)
MQ11a_SC12_ExplosionMarker.PlaceAtMe(_00E_HarmlessFireExplosion, 1) MQ11a_SC12_ExplosionMarker.PlaceAtMe(_00E_HarmlessFireExplosion, 1)
@ -1284,8 +1279,7 @@ Function StopVision()
(PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking()
MQ11a_SC25_MayasREF.SetAlpha(0.0) ; Some kind of failsave inherited from old _00E_MQ11a_SC25_FailsaveSC MQ11a_SC25_MayasREF.SetAlpha(0.0) ; Some kind of failsave inherited from old _00E_MQ11a_SC25_FailsaveSC
Wait(3) Wait(3)
Message.ResetHelpMessage("MQ11a_TutorialArrows") _00E_HelpMessage.Show(_00E_MQ11a_SC23_MayaMessage, 5)
_00E_MQ11a_SC23_MayaMessage.ShowAsHelpMessage("MQ11a_TutorialMaya", 5, 1, 1)
EndFunction EndFunction
@ -1293,7 +1287,6 @@ EndFunction
Function StartLastFight() Function StartLastFight()
Message.ResetHelpMessage("MQ11a_TutorialMaya")
SwitchAllTeleportation(False) SwitchAllTeleportation(False)
Game.RequestAutoSave() Game.RequestAutoSave()
@ -1413,7 +1406,7 @@ Function CaliaAndVeiledWomanDisappear()
(PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking() (PlayerREF as _00E_PlayerFunctions).ResumeRandomHeadTracking()
Self.SetCurrentStageID(210) Self.SetCurrentStageID(210)
MQ11a_SC26_DoorREF.BlockActivation(False) MQ11a_SC26_DoorREF.BlockActivation(False)
_00E_MQ11a_SC23_Calia.ShowAsHelpMessage("MQ11aFinalCalia", 5, 1, 1) _00E_HelpMessage.Show(_00E_MQ11a_SC23_Calia, 5)
EndFunction EndFunction
@ -1579,9 +1572,8 @@ Event OnUpdate()
If MQ11a_LeftTowerLocal == 3 If MQ11a_LeftTowerLocal == 3
If PlayerREF.GetItemCount(_00E_MQ11a_SC9_GunpowderSatchel) == 0 If PlayerREF.GetItemCount(_00E_MQ11a_SC9_GunpowderSatchel) == 0
Message.ResetHelpMessage("MQ11a_TutorialCrosshair")
If _00E_DisableQuestTutorials.GetValueInt() == 0 If _00E_DisableQuestTutorials.GetValueInt() == 0
_00E_MQ11a_Tutorial_Telekinesis.ShowAsHelpMessage("Telekinesis", 5, 1, 1) _00E_HelpMessage.Show(_00E_MQ11a_Tutorial_Telekinesis, 5)
EndIf EndIf
Return Return

View File

@ -3,7 +3,7 @@ Scriptname _00E_MQP02_Functions extends Quest Conditional
Import Utility Import Utility
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -128,7 +128,6 @@ EndFunction
Function ShowLanternMessage() Function ShowLanternMessage()
Message.ResetHelpMessage("Activate")
_00E_MQP02_Tutorial_Activate.ShowAsHelpMessage("Activate", 5, 1, 1) _00E_MQP02_Tutorial_Activate.ShowAsHelpMessage("Activate", 5, 1, 1)
EndFunction EndFunction
@ -159,7 +158,6 @@ EndFunction
Function StartCombatMusic() Function StartCombatMusic()
Message.ResetHelpMessage("Attack")
Game.RequestAutoSave() Game.RequestAutoSave()
_00E_MQP02_CombatMusic.Add() _00E_MQP02_CombatMusic.Add()
MQP02_SC4_JailDoor.Lock(True) MQP02_SC4_JailDoor.Lock(True)

View File

@ -4,7 +4,7 @@ Import Utility
Import Game Import Game
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -15,11 +15,9 @@ Event OnUpdate()
If (Self.GetCurrentStageID() < 20) && _00E_DisableMenuTutorials.GetValueInt() == 0 If (Self.GetCurrentStageID() < 20) && _00E_DisableMenuTutorials.GetValueInt() == 0
If Game.UsingGamepad() If Game.UsingGamepad()
Message.ResetHelpMessage("Empty") _00E_MQP03_Tutorial_LeaveMenuHintConsole.ShowAsHelpMessage("_00E_MQP03_Tutorial_LeaveMenuHintConsole", 5, 1, 1)
_00E_MQP03_Tutorial_LeaveMenuHintConsole.ShowAsHelpMessage("Empty", 5, 1, 1)
Else Else
Message.ResetHelpMessage("Empty") _00E_MQP03_Tutorial_LeaveMenuHint.ShowAsHelpMessage("_00E_MQP03_Tutorial_LeaveMenuHint", 5, 1, 1)
_00E_MQP03_Tutorial_LeaveMenuHint.ShowAsHelpMessage("Empty", 5, 1, 1)
EndIf EndIf
RegisterForSingleUpdate(15) RegisterForSingleUpdate(15)
Else Else
@ -59,8 +57,7 @@ Function ShowVisionBinkMovie()
EndFunction EndFunction
function SetupPlayer() function SetupPlayer()
Message.ResetHelpMessage("Empty") _00E_MQP03_Thoughts01.ShowAsHelpMessage("_00E_MQP03_Thoughts01", 5, 1, 1)
_00E_MQP03_Thoughts01.ShowAsHelpMessage("Empty", 5, 1, 1)
Game.SetInCharGen(false, true, false) Game.SetInCharGen(false, true, false)
PlayerREF.AddShout(_00E_Class_Meditate) PlayerREF.AddShout(_00E_Class_Meditate)
PlayerREF.EquipShout(_00E_Class_Meditate) PlayerREF.EquipShout(_00E_Class_Meditate)
@ -102,8 +99,7 @@ Function ShowThoughtBox()
AudioCategoryAMB.Unmute() AudioCategoryAMB.Unmute()
AudioCategoryAMB2x.Unmute() AudioCategoryAMB2x.Unmute()
AudioCategoryAMBr.Unmute() AudioCategoryAMBr.Unmute()
Message.ResetHelpMessage("Empty") _00E_MQP03_Thoughts03.ShowAsHelpMessage("_00E_MQP03_Thoughts03", 5, 1, 1)
_00E_MQP03_Thoughts03.ShowAsHelpMessage("Empty", 5, 1, 1)
EndFunction EndFunction
@ -115,37 +111,32 @@ EndFunction
Function ShowSkillbookTutorial() Function ShowSkillbookTutorial()
If _00E_DisableMenuTutorials.GetValueInt() == 0 If _00E_DisableMenuTutorials.GetValueInt() == 0
Message.ResetHelpMessage("Empty") _00E_MQP03_Tutorial_Skillbooks.ShowAsHelpMessage("_00E_MQP03_Tutorial_Skillbooks", 4, 1, 1)
_00E_MQP03_Tutorial_Skillbooks.ShowAsHelpMessage("Empty", 4, 1, 1)
EndIf EndIf
Lernpunkte.SetValueInt(1) Lernpunkte.SetValueInt(1)
_00E_MQP03_sLearningPointGained.Show(1) _00E_MQP03_sLearningPointGained.Show(1)
Wait(6) Wait(6)
If _00E_DisableMenuTutorials.GetValueInt() == 0 If _00E_DisableMenuTutorials.GetValueInt() == 0
Message.ResetHelpMessage("Empty") _00E_MQP03_Tutorial_Skillbooks2.ShowAsHelpMessage("_00E_MQP03_Tutorial_Skillbooks2", 4, 1, 1)
_00E_MQP03_Tutorial_Skillbooks2.ShowAsHelpMessage("Empty", 4, 1, 1)
EndIf EndIf
EndFunction EndFunction
Function ShowSleepTutorial() Function ShowSleepTutorial()
If _00E_DisableOtherTutorials.GetValueInt() == 0 If _00E_DisableOtherTutorials.GetValueInt() == 0
Message.ResetHelpMessage("Empty") _00E_MQP03_Tutorial_Rest.ShowAsHelpMessage("_00E_MQP03_Tutorial_Rest", 5, 1, 1)
_00E_MQP03_Tutorial_Rest.ShowAsHelpMessage("Empty", 5, 1, 1)
EndIf EndIf
EndFunction EndFunction
Function ShowThoughtBox05() Function ShowThoughtBox05()
Message.ResetHelpMessage("Empty") _00E_MQP03_Thoughts05.ShowAsHelpMessage("_00E_MQP03_Thoughts05", 5, 1, 1)
_00E_MQP03_Thoughts05.ShowAsHelpMessage("Empty", 5, 1, 1)
EndFunction EndFunction
Function ShowThoughtBox06() Function ShowThoughtBox06()
Message.ResetHelpMessage("Empty") _00E_MQP03_Thoughts06.ShowAsHelpMessage("_00E_MQP03_Thoughts06", 5, 1, 1)
_00E_MQP03_Thoughts06.ShowAsHelpMessage("Empty", 5, 1, 1)
EndFunction EndFunction
@ -168,7 +159,7 @@ Function FinishQuestAndStartMQ01()
MQ01.SetCurrentStageID(5) MQ01.SetCurrentStageID(5)
Wait(1) Wait(1)
If _00E_DisableOtherTutorials.GetValueInt() == 0 If _00E_DisableOtherTutorials.GetValueInt() == 0
_00E_MQ01_Tutorial_FoodAndMushrooms.ShowAsHelpMessage("Empty", 5, 1, 1) _00E_MQ01_Tutorial_FoodAndMushrooms.ShowAsHelpMessage("_00E_MQ01_Tutorial_FoodAndMushrooms", 5, 1, 1)
EndIf EndIf
EndFunction EndFunction

View File

@ -1,5 +1,9 @@
Scriptname _00E_NQ12Functions extends Quest Scriptname _00E_NQ12Functions extends Quest
int function _GetScriptVersion() Global
return 1
endFunction
;===================================================================================== ;=====================================================================================
; EVENTS ; EVENTS
;===================================================================================== ;=====================================================================================
@ -39,8 +43,7 @@ EndFunction
Function ShowThoughtMessage() Function ShowThoughtMessage()
SetObjectiveCompleted(20) SetObjectiveCompleted(20)
Message.ResetHelpMessage("Empty") _00E_NQ12_Message01.ShowAsHelpMessage("_00E_NQ12_Message01", 4, 1, 1)
_00E_NQ12_Message01.ShowAsHelpMessage("Empty", 4, 0, 1)
EndFunction EndFunction

View File

@ -6,8 +6,7 @@ Event OnRead()
NQ16.SetObjectiveCompleted(10) NQ16.SetObjectiveCompleted(10)
Bandit.EnableNoWait() Bandit.EnableNoWait()
Utility.Wait(2) Utility.Wait(2)
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(_00E_NQ16Falle, 4)
_00E_NQ16Falle.ShowAsHelpMessage("Empty", 4, 1, 1)
Utility.Wait(8) Utility.Wait(8)
NQ16.SetCurrentStageID(10) NQ16.SetCurrentStageID(10)
DoOnce = true DoOnce = true
@ -18,4 +17,4 @@ EndEvent
ObjectReference Property Bandit Auto ObjectReference Property Bandit Auto
Quest Property NQ16 Auto Quest Property NQ16 Auto
Message Property _00E_NQ16Falle Auto Message Property _00E_NQ16Falle Auto
bool doonce = false bool doonce = false

View File

@ -2,6 +2,10 @@ Scriptname _00E_NQ26_Questfunctions extends Quest
Import Utility Import Utility
int function _GetScriptVersion() Global
return 1
endFunction
Function PortPhatira() Function PortPhatira()
Phatira.Enable() Phatira.Enable()
@ -102,8 +106,7 @@ Function PortPahtira()
Game.SetPlayerAIDriven(False) Game.SetPlayerAIDriven(False)
Game.ShowFirstPersonGeometry(true) Game.ShowFirstPersonGeometry(true)
Wait(2) Wait(2)
Message.ResetHelpMessage("Empty") _00E_NQ26_DisplayTextGenerator.ShowAsHelpMessage("_00E_NQ26_DisplayTextGenerator", 7, 1, 1)
_00E_NQ26_DisplayTextGenerator.ShowAsHelpMessage("Empty", 7, 1, 1)
NQ26Zenturio.Enable() NQ26Zenturio.Enable()
NQ26_SC4.ForceStart() NQ26_SC4.ForceStart()
YeraiRef.MoveTo(NQ26YeraiPortMarker) YeraiRef.MoveTo(NQ26YeraiPortMarker)

View File

@ -3,7 +3,7 @@ Scriptname _00E_NQ_G_03_Functions extends Quest Conditional
Import Utility Import Utility
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -70,15 +70,9 @@ EndFunction
Function ShowInnerVoice() Function ShowInnerVoice()
if !Done if ! Done
if !(__Config_MessageBox) Done = true
Message.ResetHelpMessage(InputEventName) _00E_HelpMessage.Show(TutorialMessage, 3)
TutorialMessage.ShowAsHelpMessage(InputEventName, Duration, IntervalTime, HowManyTimesDisplayed)
Done = True
Else
TutorialMessage.Show()
Done = True
EndIf
EndIf EndIf
EndFunction EndFunction

View File

@ -3,7 +3,7 @@ Scriptname _00E_NQ_G_07_Functions extends Quest Conditional
Import Utility Import Utility
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -1338,7 +1338,7 @@ EndFunction
Function ShowLetterThoughtMessage() Function ShowLetterThoughtMessage()
_00E_NQG07_Mael_LetterThoughtMessage.ShowAsHelpMessage(_00E_NQG07_Mael_LetterThoughtMessage, 5, 1, 1) _00E_NQG07_Mael_LetterThoughtMessage.ShowAsHelpMessage("_00E_NQG07_Mael_LetterThoughtMessage", 5, 1, 1)
EndFunction EndFunction

View File

@ -26,7 +26,7 @@ Actor Property PlayerRef Auto
bool bSKSE = true bool bSKSE = true
int function _GetScriptVersion() Global int function _GetScriptVersion() Global
return 1 return 2
endFunction endFunction
;===================================================================================== ;=====================================================================================
@ -49,8 +49,7 @@ State PipeTutorial
If akBaseItem == _00E_SmokingPipe If akBaseItem == _00E_SmokingPipe
GoToState("") GoToState("")
If (_00E_DisableOtherTutorials.GetValueInt() == 0) If (_00E_DisableOtherTutorials.GetValueInt() == 0)
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(_00E_PeaceweedSmoking_PipeTutorial, 7)
_00E_PeaceweedSmoking_PipeTutorial.ShowAsHelpMessage("Empty", 7, 30, 1)
EndIf EndIf
EndIf EndIf
EndEvent EndEvent
@ -207,14 +206,13 @@ Function _TryStartSmoking()
If (bQuitTutorialShown == False) && (_00E_DisableOtherTutorials.GetValueInt() == 0) If (bQuitTutorialShown == False) && (_00E_DisableOtherTutorials.GetValueInt() == 0)
bQuitTutorialShown = True bQuitTutorialShown = True
Message.ResetHelpMessage("Empty")
If Game.UsingGamepad() If Game.UsingGamepad()
If _00E_PeaceweedSmoking_ExitTutorial_Console == None If _00E_PeaceweedSmoking_ExitTutorial_Console == None
_00E_PeaceweedSmoking_ExitTutorial_Console = Game.GetFormFromFile(0x000482F8, "Skyrim.esm") as Message _00E_PeaceweedSmoking_ExitTutorial_Console = Game.GetFormFromFile(0x000482F8, "Skyrim.esm") as Message
EndIf EndIf
_00E_PeaceweedSmoking_ExitTutorial_Console.ShowAsHelpMessage("Empty", 7, 30, 1) _00E_HelpMessage.Show(_00E_PeaceweedSmoking_ExitTutorial_Console, 7)
Else Else
_00E_PeaceweedSmoking_ExitTutorial.ShowAsHelpMessage("Empty", 7, 30, 1) _00E_HelpMessage.Show(_00E_PeaceweedSmoking_ExitTutorial, 7)
EndIf EndIf
EndIf EndIf
RegisterForSingleUpdate(2.9) RegisterForSingleUpdate(2.9)

View File

@ -10,7 +10,7 @@ GlobalVariable Property _00E_Phasmalist_TankMode Auto
Event OnEffectStart(Actor akTarget, Actor akCaster) Event OnEffectStart(Actor akTarget, Actor akCaster)
If _00E_Phasmalist_TeleportTutorialShown.GetValueInt() == 0 && _00E_DisableSkillTutorials.GetValueInt() == 0 If _00E_Phasmalist_TeleportTutorialShown.GetValueInt() == 0 && _00E_DisableSkillTutorials.GetValueInt() == 0
_00E_Phasmalist_TeleportTutorialShown.SetValueInt(1) _00E_Phasmalist_TeleportTutorialShown.SetValueInt(1)
_00E_Phasmalist_Tutorial_Teleport.ShowAsHelpMessage("Jump", 5, 1, 1) _00E_Phasmalist_Tutorial_Teleport.ShowAsHelpMessage("_00E_Phasmalist_Tutorial_Teleport", 5, 1, 1)
EndIf EndIf
If controlQuest.IsApparitionSpawned() == False || _00E_Phasmalist_TankMode.GetValue() != 0 If controlQuest.IsApparitionSpawned() == False || _00E_Phasmalist_TankMode.GetValue() != 0

View File

@ -9,11 +9,10 @@ Message Property _00E_Phasmalist_ForceDesummonMessage Auto
Event OnLocationChange(Location akOldLoc, Location akNewLoc) Event OnLocationChange(Location akOldLoc, Location akNewLoc)
If ControlQuest.IsBadApparitionLocation(akNewLoc) If ControlQuest.IsBadApparitionLocation(akNewLoc)
If ControlQuest.IsBadApparitionLocation(akOldLoc) == False && ControlQuest.IsApparitionSpawned() If ControlQuest.IsBadApparitionLocation(akOldLoc) == False && ControlQuest.IsApparitionSpawned()
Message.ResetHelpMessage("Empty")
If akNewLoc && akNewLoc.HasKeyword(_00E_Phasmalist_NoSummonLocationTown) If akNewLoc && akNewLoc.HasKeyword(_00E_Phasmalist_NoSummonLocationTown)
_00E_Phasmalist_ForceDesummonMessageTown.ShowAsHelpMessage("Empty", 3.0, 1.0, 1) _00E_HelpMessage.Show(_00E_Phasmalist_ForceDesummonMessageTown, 3)
Else Else
_00E_Phasmalist_ForceDesummonMessage.ShowAsHelpMessage("Empty", 3.0, 1.0, 1) _00E_HelpMessage.Show(_00E_Phasmalist_ForceDesummonMessage, 3)
EndIf EndIf
RegisterForSingleUpdate(6.0) RegisterForSingleUpdate(6.0)
EndIf EndIf

View File

@ -3,8 +3,7 @@ Scriptname _00E_ShowSneakHelpMessage extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef) Event OnTriggerEnter(ObjectReference akActionRef)
if _00E_DisableTutorial.GetValueInt() == 0 && akActionRef == Game.GetForm(0x14) && ! DoOnce if _00E_DisableTutorial.GetValueInt() == 0 && akActionRef == Game.GetForm(0x14) && ! DoOnce
DoOnce = True DoOnce = True
Message.ResetHelpMessage("Empty") _00E_HelpMessage.Show(Helpmessage, 4)
Helpmessage.ShowAsHelpMessage("Empty", 4, 30, 1)
EndIf EndIf
EndEvent EndEvent

View File

@ -2,9 +2,9 @@ Scriptname _00E_ShowThoughtMessageOnActivate extends ObjectReference
Event OnActivate(ObjectReference akActionRef) Event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerREF && !Done if akActionRef == PlayerREF && ! Done
Message.ResetHelpMessage("Empty") Done = true
MessageToDisplay.ShowAsHelpMessage("Empty", 2, 2, 1) _00E_HelpMessage.Show(MessageToDisplay, 4)
EndIf EndIf
EndEvent EndEvent
@ -12,4 +12,4 @@ EndEvent
bool Done bool Done
Message Property MessageToDisplay Auto Message Property MessageToDisplay Auto
Actor Property PlayerREF Auto Actor Property PlayerREF Auto

View File

@ -9,7 +9,6 @@ Event OnTriggerEnter(ObjectReference akActionRef)
If Done == False && ((_00E_DisableTutorials == None) || (_00E_DisableTutorials.GetValueInt() == 0)) If Done == False && ((_00E_DisableTutorials == None) || (_00E_DisableTutorials.GetValueInt() == 0))
if !(__Config_MessageBox) if !(__Config_MessageBox)
Done = True Done = True
Message.ResetHelpMessage(InputEventName)
TutorialMessage.ShowAsHelpMessage(InputEventName, Duration, IntervalTime, HowManyTimesDisplayed) TutorialMessage.ShowAsHelpMessage(InputEventName, Duration, IntervalTime, HowManyTimesDisplayed)
Else Else
If __Config_ShowOnlyOnce If __Config_ShowOnlyOnce

View File

@ -44,8 +44,6 @@ Function Step01()
Opponent.GetReference().AddItem(Gold001, iStartGold*3) Opponent.GetReference().AddItem(Gold001, iStartGold*3)
EndIf EndIf
Message.ResetHelpMessage("TossCoinTailsEvent")
Message.ResetHelpMessage("TossCoinHeadEvent")
PlayerThrowing = 0 PlayerThrowing = 0
OpponentTHrowing = 0 OpponentTHrowing = 0
PlayerScore = 0 PlayerScore = 0
@ -116,11 +114,11 @@ Function CoinToss()
Coin[CoinTossResult].Enable(true) Coin[CoinTossResult].Enable(true)
if CoinTossResult == 0 if CoinTossResult == 0
Head.ShowAsHelpMessage("TossCoinHeadEvent", 5.0, 1.0,1) _00E_HelpMessage.Show(Head, 5)
Utility.Wait(3.0) Utility.Wait(3.0)
PlayerTurn() PlayerTurn()
else else
Tails.ShowAsHelpMessage("TossCoinTailsEvent", 5.0, 1.0,1) _00E_HelpMessage.Show(Tails, 5)
Utility.Wait(3.0) Utility.Wait(3.0)
OpponentTurn() OpponentTurn()
endif endif

View File

@ -87,7 +87,7 @@ int Function Step01() ; place your bet
EnemyPurse.EnableNoWait(true) EnemyPurse.EnableNoWait(true)
RegisterForKey(14) RegisterForKey(14)
RegisterForKey(271) RegisterForKey(271)
Helps.ShowAsHelpMessage("ShowCurrentStatsPC", 4.0, 3.0, 1) _00E_HelpMessage.Show(Helps, 4)
Step02() Step02()
Return PlayerBet Return PlayerBet
endif endif
@ -111,7 +111,7 @@ Function Step02() ; take player's cards
Utility.Wait(2) Utility.Wait(2)
RegisterForKey(46) RegisterForKey(46)
RegisterForKey(280) RegisterForKey(280)
PressToCheatNow.ShowAsHelpMessage("PCCheatNow", 4.0, 3.0, 1) _00E_HelpMessage.Show(PressToCheatNow, 4)
Utility.Wait(4.0) Utility.Wait(4.0)
UnregisterforKey(46) UnregisterforKey(46)
UnregisterforKey(280) UnregisterforKey(280)
@ -135,7 +135,7 @@ Function Step02() ; take player's cards
PlayerRef.RemoveItem(Gold001, BoostPrice, false, Opponent.GetReference()) PlayerRef.RemoveItem(Gold001, BoostPrice, false, Opponent.GetReference())
DicesResult.Show(Dices, totalplayer) DicesResult.Show(Dices, totalplayer)
endif endif
Helps.ShowAsHelpMessage("ShowCurrentStatsPC", 4.0, 3.0, 1) _00E_HelpMessage.Show(Helps, 4)
Step03() Step03()
EndFunction EndFunction
@ -172,7 +172,7 @@ Function Step03() ; take opponent's cards
else else
EnemyResult.Show(totalEnemy) EnemyResult.Show(totalEnemy)
endif endif
Helps.ShowAsHelpMessage("ShowCurrentStatsPC", 2.0, 3.0, 1) _00E_HelpMessage.Show(Helps, 3)
Step04() Step04()
EndFunction EndFunction
@ -256,8 +256,6 @@ Function FinishGameNoGold()
totalplayer = 0 totalplayer = 0
totalenemy = 0 totalenemy = 0
Message.ResetHelpMessage("ShowCurrentStatsPC")
Message.ResetHelpMessage("PCCheatNow")
Utility.Wait(2.0) Utility.Wait(2.0)
if initialFurn != none if initialFurn != none
PlayerRef.MoveTo(initialFurn) PlayerRef.MoveTo(initialFurn)
@ -296,8 +294,6 @@ Function ResetGame()
globalbet = 0 globalbet = 0
totalplayer = 0 totalplayer = 0
totalenemy = 0 totalenemy = 0
Message.ResetHelpMessage("ShowCurrentStatsPC")
Message.ResetHelpMessage("PCCheatNow")
PlayCards() PlayCards()
EndFunction EndFunction
@ -334,9 +330,6 @@ Function FinishGameAndClearUp()
totalplayer = 0 totalplayer = 0
totalenemy = 0 totalenemy = 0
Message.ResetHelpMessage("ShowCurrentStatsPC")
Message.ResetHelpMessage("PCCheatNow")
; Utility.Wait(2.0) ; Utility.Wait(2.0)
if initialFurn != none if initialFurn != none
PlayerRef.MoveTo(initialFurn) PlayerRef.MoveTo(initialFurn)