4
Fork 0

Removed single use ShowHelpMessage()

remove-levelsystem
Eddoursul 4 months ago
parent 88c3b9f32c
commit 7ab56cb45a
  1. BIN
      scripts/_00e_phasmalist_playeraliasscript.pex
  2. BIN
      scripts/_00e_questfunctions.pex
  3. 5
      source/scripts/_00e_phasmalist_playeraliasscript.psc
  4. 7
      source/scripts/_00e_questfunctions.psc

Binary file not shown.

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

@ -151,13 +151,6 @@ Function RefreshFace() Global
EndFunction
Function ShowHelpMessage(Message msg, Float fDuration = 5.0, String sEvent = "Empty") Global
Message.ResetHelpMessage(sEvent)
msg.ShowAsHelpMessage(sEvent, fDuration, 1.0, 1)
EndFunction
Function SafeMoveTo(ObjectReference refToMove, ObjectReference targetRef, Bool bFadeIn = False) Global
; A safer way to move an object reference to another ref than just MoveTo.

Loading…
Cancel
Save