Announcement

Collapse
No announcement yet.

basic countdown timer please help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    basic countdown timer please help

    Hi
    I am trying to create a basic count timer so when the timer finishes it says game end. It does not need to be any fancy just a basic timer. I have created this but it does not show up.
    Can someone like this.
    Thank You

    #2
    1. Use timer, at least one second.
    2. Did you put this actor on the level?
    3. branch - minutes < 0

    Comment


      #3
      use Float then make timestamp and you can get the seconds, minutes, hours that that float is = to so if float is == 60 that would be one minute in the timestamp, might work with int as well, thats so you don't need to use multiply varibles for minutes and seconds and such.
      My website: https://www.pijellypin.com
      Multiplayer Components: https://www.unrealengine.com/marketp...yer-components

      Comment


        #4
        Click image for larger version  Name:	ClockTick.PNG Views:	0 Size:	122.6 KB ID:	1718637Click image for larger version  Name:	ClockEvents.PNG Views:	0 Size:	63.4 KB ID:	1718636
        This is an example of a timer that doesn't run every frame.

        EndTimeInSeconds is how many seconds until the game ends from the beginning.
        Last edited by GarnerP57; 02-07-2020, 06:53 PM.

        Comment


          #5
          These are some complicated looking timers. Sure, sometimes complexity is necessary.. but try this one for the sake of simplicity


          Click image for larger version

Name:	66cc13c7252c25e21b941499c4f80b3e.png
Views:	133
Size:	50.2 KB
ID:	1718650
          http://bradon.myportfolio.com

          Comment


            #6
            A simple Delay is all you need if you are only interested in getting one callback at the end. My example gives a callback every second and it doesn't drift or tick every frame or repeat itself.

            Comment


              #7
              Originally posted by mbismillah View Post
              Hi
              I am trying to create a basic count timer so when the timer finishes it says game end. It does not need to be any fancy just a basic timer.
              Thank You
              Right, but that
              http://bradon.myportfolio.com

              Comment


                #8
                https://neonghounrealscript.blogspot...6411&type=POST If you want to show the time on UMG this is how you should do it,
                Some cool unreal projects you may like!


                Developer of GOTA - Survivalism Gladiatorial game Buy the game google gladiators of the arena steam https://store.steampowered.com/app/7..._Of_The_Arena/

                Download the demo Download the demo
                external link Dropbox DropBox

                Become a c++ Professional now C++ Networking Tutorial

                Comment


                  #9
                  not working

                  Comment


                    #10
                    Originally posted by mbismillah View Post
                    not working
                    Add a value to the time.. It's in seconds. so 60 = 1 minute

                    Click image for larger version  Name:	a151a30ba08170cec8f6f72f32b860a3.png Views:	0 Size:	212.1 KB ID:	1719577
                    http://bradon.myportfolio.com

                    Comment


                      #11
                      hi tried that but still nothing happens

                      Comment

                      Working...
                      X