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"

How to make a TImeline repeat each time I release a button?

Hey guys, I created a little blueprint to implement a basic variable speed as in games like Splinter Cell. Then I thought it would be nice if I also implemented a sprint functionality like the one in Assassin's Creed. Sprint speed is twice the value of my jog speed, which is the maximum speed of my variable speed system. I have everything working great except one thing. I created a timeline to smoothen out the steep transition from a 750 sprint down to 375 jog over 1 second and it's working, but only the first time I release the sprint button. I want this to happen every time. What do I need to change in the blueprint below? Thanks in advance.

alt text

Product Version: UE 4.10
more ▼

asked Feb 06 '16 at 03:56 PM in Blueprint Scripting

avatar image

3 1 4 7

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

1 answer: sort voted first

if you're using a character component, acceleration is already handled there, so you should be able to modify just the max speed and in your character movement component set the desired accel/deccel rate to achieve your desired result. however, if you want to customize this with your timeline, you could try 'play from start' instead of 'play', but you may run into situations where you'll actually need to not always play from start, and instead play from wherever you left off during the transition if the transition was interrupted.

more ▼

answered Feb 08 '16 at 04:16 PM

avatar image

1.2k 49 31 86

avatar image Th3Gi4nt Feb 08 '16 at 08:56 PM

Play from Start solved it. Thanks, Paradoc.

(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