Monoman1 Posted August 7, 2022 Posted August 7, 2022 (edited) Event OnActivate(ObjectReference akActionRef) If akActionRef == PlayerRef RegisterForAnimationEvent(PlayerRef, "IdleFurnitureExit") RegisterForSingleUpdate(2.0) EndIf EndEvent Event OnAnimationEvent(ObjectReference akSource, string asEventName) ;Debug.Messagebox("Exit furn") UnRegisterForAnimationEvent(PlayerRef, "IdleFurnitureExit") UnRegisterForUpdate() EndEvent Seems straight forward enough. Activate pole. Begin updates Wait for IdleFurnitureExit event to stop updates. If the updates are continuing after stopping dancing then it seems the IdleFurnitureExit event is not being sent for you for some reason. What I will do is add RegisterForAnimationEvent("FootLeft") Event OnActivate(ObjectReference akActionRef) If akActionRef == PlayerRef RegisterForAnimationEvent(PlayerRef, "IdleFurnitureExit") RegisterForAnimationEvent(PlayerRef, "FootLeft") RegisterForSingleUpdate(2.0) EndIf EndEvent Event OnAnimationEvent(ObjectReference akSource, string asEventName) ;Debug.Messagebox("Exit furn") UnRegisterForAnimationEvent(PlayerRef, "IdleFurnitureExit") UnRegisterForAnimationEvent(PlayerRef, "FootLeft") UnRegisterForUpdate() EndEvent In fact, here: pchsWtDancePole.pex I don't think that script has changed from 10.3. Untested but should be ok. Edited August 7, 2022 by Monoman1 2
Straze Posted August 8, 2022 Author Posted August 8, 2022 Thanks for the script! Been using the script and have not experienced the problem with last Wartimes - Party event. Looks like the fix is working for me for SE.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now