x

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"

Flipbook Control - Looping in AnimationState

Allrighty, so i made a state machine that switches through the Flipbooks based on this example here :

https://www.youtube.com/watch?v=Af-jsQFlLFU

Got my variables and inputs in the event graph. Got my input casting working inside AnimState function.

Everything works great except for the set looping control. I placed this inside the inside the Animation State Function ( one node setting looping to true before any var induced branches ) and ( nodes between the branches - for example if Crouching = true, then set looping to false, then set flipbook ) assuming that that would reset the looping status but it does not. If it is set once anywhere inside the AnimState function it seems to stay set.

Is there any way to create an additional looping variable and set it on the fly in relation to which Flipbook? Or perhaps a way to add a looping true / false checkbox to the Flipbook variables in the Enum themselves? I can't think of a scenario where a flipbook would need to both loop and play to end. Plus I could always just duplicate the FB. Please let me know if my logic is incorrect.

I've seen some references to the Timeline node, could I put this inside my AnimState Function or would this have to be a separate function in the Event Graph that took place before the Flipbook is assigned?

Plan on having many, many animations, so a efficient setup to add/remove a ludicrous amount of them is ideal.

Also do I need to move the looping control SET's to the event graph ( basically OUTSIDE of the Animation State Function? )

And while I am here, are there plans to be able to edit multiple sprites in a flipbook at once? Or perhaps set it upon import? Had to change pixels/uu for each sprite, I can see that becoming issue.

Thanks alot everyone, Paper ( and U4) is terrific even in beta.

Product Version: Not Selected
Tags:
more ▼

asked Jan 05 '15 at 03:49 PM in Blueprint Scripting

avatar image

supersane
6 1 2 1

avatar image supersane Jan 07 '15 at 04:06 PM

Here are the blueprints.

alt text

alt text

alt text

alt text

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

0 answers: sort voted first
Be the first one to answer this question
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