Results 1 to 3 of 3

Thread: Tick and Pause

  1. #1

    Default Tick and Pause

    I have Options UIScene with some sliders. When it's active the game is paused.

    I'd like to keep checking the slider values and do some stuff based on that (adjust volumes continuously etc.) but my problem is, that I'm checking them from within PlayerControll - PlayerTick function which is suspended when the game is paused.

    I think what I'm looking for is some kind of Tick function that keeps running even when the game is paused (or maybe I'm just missing some engine callback thats called continuously when the slider is moved ).

    Thanks

  2. #2

    Default

    Use a separate actor class with bAlwaysTick=True to get Tick() events while the game is paused.
    Wormbo's UT/UT2004/UT3 mods | PlanetJailbreak | Unreal Wiki | Liandri Archives

    <elmuerte> you shouldn't do all-nighters, it's a waste of time and effort
    <TNSe> nono
    <TNSe> its always funny to find code a week later you dont even remember writing
    <Pfhoenix> what's worse is when you have a Star Wars moment
    <Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!"
    Note that your questions via PMs will be ignored if they actually belong in the forum.

  3. #3

    Default

    I'll give it a try. Thanks a lot!


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.