Jump to content

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


Recommended Posts

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
Link to comment

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use