Talk:OnLockStateChanged - ObjectReference

Active discussions
Revision as of 12:40, 26 November 2023 by TwilightSky (talk | contribs) (β†’β€ŽOn calling Lock(): event will fire twice when unlocked via lockpicking)
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)

On calling Lock()Edit

The note on the main page appears to misunderstand how this event works. Any change made to an object's lock state will trigger this event. If you lock it, this event fires. If you unlock it, same thing. This is intended behavior and it is not designed to store nor report the previous lock state. --TwilightSky (talk) 01:17, 12 November 2023 (EST)

However, when a container's lock state is changed via lockpicking, this event will trigger twice. It is unknown why this happens. --TwilightSky (talk) 11:40, 26 November 2023 (EST)
Return to "OnLockStateChanged - ObjectReference" page.