Limited Bullets To Character.

Discussion in 'How Can I...?' started by User, Aug 9, 2016.

  1. User

    User Boxer

    Joined:
    Jul 26, 2016
    Messages:
    39
    Likes Received:
    3
    How to give limited bullets to character that he has to collect and then he can use?
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    this might help...

     
  3. User

    User Boxer

    Joined:
    Jul 26, 2016
    Messages:
    39
    Likes Received:
    3
    Thank you so much Heathclose, but i didn't understand it, What i want is player has to collect bullets then only he can use so if u can explain in detail that would be very appreciated. Actually I m very new to BB so don't have much idea.
    Thank you again.
     
  4. K9 Gamer

    K9 Gamer Avid Boxer

    Joined:
    Jul 30, 2016
    Messages:
    104
    Likes Received:
    23
    you can use the Button to display the amount of ammo you have if you set your shot as an action using the button and but it looks like the only way to refill is to restart.

    what you need is a way to make picking up a object replenish the remaining uses of the button.
     
    User likes this.
  5. amadoucss

    amadoucss Boxer

    Joined:
    Jul 29, 2016
    Messages:
    10
    Likes Received:
    0
    WTF explain better or dont
     
  6. K9 Gamer

    K9 Gamer Avid Boxer

    Joined:
    Jul 30, 2016
    Messages:
    104
    Likes Received:
    23
    Create a action button on the UI for the shoot Action.
    The button you can then use to set the amount of uses which you can adjust it will also display the number of uses left on the button.
    Create an Action with you shooting animation in it and include character bullet object in it add component spawner 9999

    That`s get you a button with an ammo counter which will rest ammo on death i`m still working of a action to replenish the ammo. This solves half your problem ill left you know if i figure out how to replenish ammo i want it for my game as well.
     
    Maylock and User like this.
  7. amadoucss

    amadoucss Boxer

    Joined:
    Jul 29, 2016
    Messages:
    10
    Likes Received:
    0
    how do you add an action with a bullet and a spawner
     
  8. K9 Gamer

    K9 Gamer Avid Boxer

    Joined:
    Jul 30, 2016
    Messages:
    104
    Likes Received:
    23
    Use the animation for you attack as the action
    In that animation drag in an object (your Bullet) make that object a character bullet add component spawner
     
  9. amadoucss

    amadoucss Boxer

    Joined:
    Jul 29, 2016
    Messages:
    10
    Likes Received:
    0
    how do i use animation as action sorry for all the questions i m a newbie:)
     
  10. K9 Gamer

    K9 Gamer Avid Boxer

    Joined:
    Jul 30, 2016
    Messages:
    104
    Likes Received:
    23
    Use your character attack animation if you have one if not just use the default character animation drop it into Build box and select Action
     
    amadoucss likes this.
  11. amadoucss

    amadoucss Boxer

    Joined:
    Jul 29, 2016
    Messages:
    10
    Likes Received:
    0
    i tried droping animation in the shooting animations but i only see image and object no action
     
  12. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    Dude I am pretty sure you can ask nicer especially if you wanna get help ;)
     
    Trudeau and amadoucss like this.
  13. amadoucss

    amadoucss Boxer

    Joined:
    Jul 29, 2016
    Messages:
    10
    Likes Received:
    0
    You are
    right can u please help me
     
  14. VectologyGames

    VectologyGames Serious Boxer

    Joined:
    Oct 5, 2015
    Messages:
    529
    Likes Received:
    473
    Wow, I don't think anyone will go out of their way to help you sir.
     
  15. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Lol. That made me laugh.

    @VectologyGames: Did you get my PM?
     
    bmsingha likes this.
  16. amadoucss

    amadoucss Boxer

    Joined:
    Jul 29, 2016
    Messages:
    10
    Likes Received:
    0
    Thanks alot dude it really helped if u find a way for ammo refill pls share
     
  17. User

    User Boxer

    Joined:
    Jul 26, 2016
    Messages:
    39
    Likes Received:
    3
    Thank you so much. Can you provide some reference ? I am little confused in second paragraph.
     
    Last edited: Sep 8, 2016

Share This Page