Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Feature Request] Random Sequence Player Loop Tickbox

As the title suggests, Random Sequence Player should have an option to "Not Loop" it's elements once one of them completes.

As it is, Random Sequence Player will randomly choose one of it's options and when that animation ends, it will go ahead and choose another one (or loop the same animation if min/max loop count is set to something). But it will not just choose one of the options and stop completely once that finishes.

To work around this, I've thought about using the "blend poses by int" node or the select node, but both require a random integer to work 'randomly' and Random Integer node isn't Thread safe.

To work around this, I created a variable inside the anim bp, set it to some random value on Begin Play and use that as the select node input. And every time I change the number of random animations, I must manually adjust the random integer max value.

None of this is hard work, but if Random Sequence Player had an option to loop or not loop, like almost every other sequence player, it would be more convenient and add more functionality.

Product Version: UE 4.18
more ▼

asked Mar 01 '18 at 02:00 PM in Blueprint Scripting

avatar image

38 3 7 12

avatar image Firefly74 Apr 24 '18 at 08:06 AM

I was looking for that too, i ended up developing my own node for it, if you have a c++ project i can give you the code :)

avatar image PerraYüng Jan 12 '19 at 12:41 AM

Do you still have the node? I'd really like to use this!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Here are the files :


there is no tick box, it simply a version that doesn't loop.

It's code from engine, with some modifications so it doesn't loop. ( not sure if i'm allowed to share them here ? )

3 things you need to take care of : replace DPGPLUGIN_API by your own module name replace the PCH include with you own you should but the edior part in an editor module or use the #with_editor macro, else you won't be able to package it

more ▼

answered Jan 13 '19 at 02:57 PM

avatar image

1.5k 14 18 32

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question