4
Fork 0

Merged reworked lockpicking and pickpocketing bonuses

development
Eddoursul 4 months ago
parent 4805a55db5
commit df2832f5d7
  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      Skyrim.esm
  3. BIN
      SleightOfHand quest.esp
  4. BIN
      scripts/_00E_ScrollUnlockAlias.pex
  5. 30
      source/scripts/_00E_ScrollUnlockAlias.psc
  6. BIN
      strings/enderal - forgotten stories_english.strings

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -22,13 +22,13 @@ bool function UnlockScrollEquipped()
endfunction
Event OnUpdate()
if UnlockScrollController.IsStopped()
if ! UnlockScrollController.Start()
if UnlockScrollAliases.IsStopped()
if ! UnlockScrollAliases.Start()
RegisterForSingleUpdate(0.1)
endif
elseif UnlockScrollController.IsStopping()
elseif UnlockScrollAliases.IsStopping()
RegisterForSingleUpdate(0.01)
elseif UnlockScrollController.IsStarting()
elseif UnlockScrollAliases.IsStarting()
RegisterForSingleUpdate(0.01)
endif
EndEvent
@ -42,24 +42,24 @@ state Equipped
event OnBeginState()
ObjectReference actorRef = GetReference()
RegisterForAnimationEvent(actorRef, "MRh_SpellFire_Event")
RegisterForAnimationEvent(actorRef, "MLh_SpellFire_Event")
RegisterForAnimationEvent(actorRef, "BeginCastRight")
RegisterForAnimationEvent(actorRef, "BeginCastLeft")
endevent
event OnEndState()
ObjectReference actorRef = GetReference()
UnregisterForAnimationEvent(actorRef, "MRh_SpellFire_Event")
UnregisterForAnimationEvent(actorRef, "MLh_SpellFire_Event")
UnregisterForAnimationEvent(actorRef, "BeginCastRight")
UnregisterForAnimationEvent(actorRef, "BeginCastLeft")
endevent
Event OnUpdate()
if UnlockScrollController.IsStopped()
if ! UnlockScrollController.Start()
if UnlockScrollAliases.IsStopped()
if ! UnlockScrollAliases.Start()
RegisterForSingleUpdate(0.1)
endif
elseif UnlockScrollController.IsStopping()
elseif UnlockScrollAliases.IsStopping()
RegisterForSingleUpdate(0.01)
elseif UnlockScrollController.IsStarting()
elseif UnlockScrollAliases.IsStarting()
RegisterForSingleUpdate(0.01)
endif
EndEvent
@ -81,17 +81,17 @@ state Equipped
Form baseObject = crosshairRef.GetBaseObject()
if baseObject as Container || baseObject as Door
ScrollTarget.ForceRefTo(crosshairRef)
UnlockScrollController.Stop()
UnlockScrollAliases.Stop()
return
endif
endif
UnlockScrollController.Stop()
UnlockScrollAliases.Stop()
RegisterForSingleUpdate(0.01)
ScrollTarget.Clear()
endEvent
endstate
Quest Property UnlockScrollController Auto
Quest Property UnlockScrollAliases Auto
FormList Property _00E_UnlockScrolls Auto
ReferenceAlias Property ScrollTarget Auto

Loading…
Cancel
Save