Jump to content

MaxSt33le

Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About MaxSt33le

  • Rank
    Newbie
  1. MaxSt33le

    Shot timer

    Thank you! I will give it a try!
  2. So I think I'm way in over my head on this one. What I'm trying to accomplish is a timer running off of an interactable object in the game using addAction. The timer should run for a predetermined number of seconds (5 in my example), register whenever a weapon is fired by anyone in that time, and output the total number of shots fired, as well as the time in seconds and one decimal of when the latest shot was fired. Once the timer reaches it's end it should stop counting and output the number of shots and time in some appropriate way (I've been working with hint, but anything works). I've tried looking for a script that does this, but haven't found one, so I decided to try to make it myself. If it does happen to exist already, I would be more than happy to use that instead. Here's where I am so far. I've mostly spliced together different pieces of code, and always felt like I was getting one step closer (which I probably wasn't at all), but I've hit a brick wall. If anyone could point me in the right direction, that would be great.
×