PJMail Posted April 9, 2022 Share Posted April 9, 2022 Is it when the function returns (synchronous)?Searched and found nothing conclusive, but I would really expect it to be Async so then need something else to wait for.Any ideas? The idles could be anything so I need a generic solution. I am running a second animation so starting it too early would terminate the first I think. Thanks. Link to comment Share on other sites More sharing options...
DieFeM Posted April 9, 2022 Share Posted April 9, 2022 An idle marker can run idles in sequence. Link to comment Share on other sites More sharing options...
PJMail Posted April 10, 2022 Author Share Posted April 10, 2022 I am doing it in script, and have no real control over what the actual idle is (it is a Pose mod). Link to comment Share on other sites More sharing options...
LarannKiar Posted April 10, 2022 Share Posted April 10, 2022 (edited) I'm afraid there's no way to detect when random idles finish. An idle version of the "PlayAndWait()" would be needed but from what I've seen in the vanilla scripts it looks like the developers always used animation events to force the script to "wait" for the animation to end. But animation events are only helpful if you know the actual animations and if the animations generate events at all.. and unfortunately most animations don't generate events.. Maybe you can try registering your script for idles like "IdleStop", "SyncIdleStop", "PipBoyIdleStop", etc... RegisterForAnimationEvent(MyActor, "IdleStop") Edited April 10, 2022 by LarannKiar Link to comment Share on other sites More sharing options...
PJMail Posted April 11, 2022 Author Share Posted April 11, 2022 Thanks LarannKiar - that was about what I had found too. Unfortunately most of the 'mod community' created idles I want to play have no events.PlayIdleandWait() would have been nice! I might try and check few animation events and see what i get, but it does not sound 100% reliable anyway with random idles. Link to comment Share on other sites More sharing options...
Recommended Posts