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"

Reset level by timer?

Hi guys, I'm pretty new to unreal and I'm wanting to have my current level restarted when a certain amount of time has passed (say 5 min or something), how do I go about doing this?

Thanks in advance :)

Product Version: UE 4.15
Tags:
more ▼

asked Apr 09 '17 at 09:55 AM in Blueprint Scripting

avatar image

acl2720
1 2 3 3

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

1 answer: sort voted first

Hi, i created a little exemple for you tell me if it's enough or if you need more details, nothing is too hard here. i'm also new to unreal engine 4 so i'll give you my sources so it will help you.

alt text

How to make it :

  • Create a new blueprint class as an actor.

  • Directly go to the event graph and only keep the event tick block.

  • Create a time variable as integer.

  • Add and link all the blocks the same way i did.

  • Enjoy

source 1 (restarting a level) : https://answers.unrealengine.com/questions/37113/player-death-or-level-reset.html source 2 (timer) : https://www.youtube.com/watch?v=12kQoBJKTqU

help timer.png (140.8 kB)
more ▼

answered Apr 09 '17 at 10:17 AM

avatar image

hypgawan
1 1 1

(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