Jump to content

SL Aroused Baka Edition - Papyrus Log Spam / Suspended(?)


Recommended Posts

Posted (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 by Monoman1
Posted

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. 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...