Limit the number of shots and rate of fire?

Discussion in 'How Can I...?' started by robert_rackstraw, Oct 17, 2015.

  1. robert_rackstraw

    robert_rackstraw Boxer

    Joined:
    Oct 1, 2015
    Messages:
    15
    Likes Received:
    2
    Hi

    How do I only make character be able to fire say once per second?

    Can I make the number of shots available dependent on in-game coins?

    Many thanks in advance

    RR
     
  2. Machine Rises

    Machine Rises Moderator

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Drag an object on the screen as a character bullet. Turn on spawn and pick the settings you need. In spawn, spawn rate is the timing of the bullets. If you put 1 in there then one bullet every second, 2 is two seconds, etc. The drop down below this will give you options as well in when/how to spawn.
     
  3. robert_rackstraw

    robert_rackstraw Boxer

    Joined:
    Oct 1, 2015
    Messages:
    15
    Likes Received:
    2
    Many thanks. I'll give it a go.
     
  4. tyris_audronis

    tyris_audronis Boxer

    Joined:
    Apr 1, 2016
    Messages:
    72
    Likes Received:
    25
    Still don't know how to limit the number of shots you have. I want my character to be limited to 6 shots (western)
     

Share This Page