Monoman1 Posted August 7, 2022 Posted August 7, 2022 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.
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
Archived
This topic is now archived and is closed to further replies.