Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
danielvd

Score System?

Question

Does anyone know how to make a "simple score system" something like this:

Wen ever you kill an enemy you get so to say "20" "Points" does anyone know how to do that or has a script for that?

(Extra Question = a buying script were you can buy so to say a "Weapon" with dose "Points")

Thanks!

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

"score" system is simple, but buying is closely connected with your weapon switching script (for every project it will be different and depends on how exactly you want to do that).

SCORE

Put this script on any object(just make a cube or whatever):

Please login or register to see this code.

And this will be your "score manager":

Please login or register to see this code.

Share this post


Link to post
Share on other sites

  • 0

Our Game is Pretty Much Just Like Nazi Zombies, Were you kill zombies and earn points to buy weapons...

But this score system is for our multiplayer TPS

But thanks anyway but if you may help me with the buying it would be AWSOME!!

Share this post


Link to post
Share on other sites
  • 0
Please login or register to see this quote.

Were do i attach the "Score Manager" empty object or what?

Share this post


Link to post
Share on other sites
  • 0
Please login or register to see this quote.

Yes.

like i said, all depends on your weapon switching script.

1. You must check how much money/points you have.

2. Buying the same way as opening door (if you know how to use raycast and check colliders tag, you can do it).

3. Selecting weapon = inside switching script.

P.S. and your progress with your game? multiplayer?

Share this post


Link to post
Share on other sites
  • 0

We are going to launch a Multiplayer demonstration next week

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...