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"

Set and modify a countdown in game

Hey guys, I'm working on an FPS in which you have a countdown. When this countdown is egal to zero, it's game over. When you kill an enemy, you gain time on this countdow, When an enemy hit you, you loose time on this countdown.

So right now, I've followed a tutorial to create a simple timer: https://www.youtube.com/watch?v=5CAYeyqiUSM

But I want the oposite, so, a countdown. Here's what i have rigth now: http://i.gyazo.com/28fca7fef2914d4d9ae487aedfdf438c.png http://i.gyazo.com/5c5e0b8dbc512d29c1c953b148ac6960.png

I guess I have to create a variable that i'll modify dynamically but I'd prefer to start with a good methodology and a good base. So, if you guys have some advice about this, or if someone has already done a countdown, I'll be happy to see that :)

Product Version: Not Selected
more ▼

asked Nov 07 '14 at 04:02 PM in Blueprint Scripting

avatar image

76 7 7 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first
more ▼

answered Nov 10 '14 at 12:19 AM

avatar image

76 7 7 10

avatar image Arty-McLabin Sep 15 '17 at 10:56 PM

please note it is a very bad solution, as it uses "event tick". it will make computations every frame. please use timers instead for the sake of performance.

(comments are locked)
10|2000 characters needed characters left
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