Jump to content

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


Recommended Posts

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

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. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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