Jump to content
  • 0

PK/Hero System


felipesmoke94

Question

Hello, I would like some help to create a Hero / PK system, I believe it is using global variables but I'm not sure how to use ...
example:
Common Player VS> Common Player = PK Player
Player PK VS> Common player = Player PK
Common Player VS> Player PK = Player Hero
Player PK VS> Player Hero = Player PK
Player Hero VS> Common Player = Normal Player
Player Hero VS> Player Heroes = Normal Player
Player Hero VS> Player PK = Player Hero

I don't know if I managed to explain it well but it would be basically that!
Common Player = Nick Branco
Player Hero = Nick Blue
Player PK = Nick Red

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

As with @Xiphoid's faction system,Β  this will be hard to implement because of the fact that we can't access other players variables unless we pass it to a global variable first, but this has flaws in the way that what happens if multiple players dies at the same time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...