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"

Event Tick doesn't fire when minimised

Hi, in engine 4.7.6 when i compile my game and minimize it, event tick doesn't fire every time. It skip frames . I put a delay node of 1 sec on event tick and calculate the seconds, the moment i minimise the game seconds stop to count.

It there any way for me to fix this?

Product Version: UE 4.7
Tags:
more ▼

asked Aug 15 '15 at 05:46 PM in Blueprint Scripting

avatar image

wmbuRn
324 44 41 59

avatar image wmbuRn Aug 22 '15 at 06:01 PM

anyone????

avatar image thankstipscom Aug 22 '15 at 06:52 PM

are you talking about in the editor? or in a packaged game?

avatar image wmbuRn Aug 22 '15 at 07:06 PM

Both, only alternative way is to use Timers as they use real seconds, but i also need event tick

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

1 answer: sort voted first

Tick executes on every frame rendered and engine set max fps on 5 when you minimize (you can see that using "show fps" command), it to save preference when you work on desktop. This mean Tick will be executed only 5 times per secound. Tick is not design to work as timer, thats why it delivers DeltaSecounds (you can hear term delta time more frequently) to do corrections, it time between frames, you multiple delta value of a change with delta time and that delta value becomes "per sec" value, if you add up delta time in tick you should have timer :) If you want timed event Timers are way more reliable

more ▼

answered Aug 23 '15 at 12:49 AM

avatar image

Shadowriver
37.2k 936 172 1116

avatar image wmbuRn Aug 24 '15 at 06:22 AM

Yeah, but the question was how to set up the game to be on top priority and execute the same as when it would have focus. Thanks a lot for your answer, it helped a lot (:

(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