Jump to content
MakeWebGames

Module / User class function suggestion


Sim

Recommended Posts

Id like to see a method/function added that checks players minimum Rank(i guess what you would call it). 

So if a game has 4 ranks and player is 3rd highest rank... Can call function to see if its higher then rankID.

Minimu. Rank to travel

Min rank to own item

Min rank to commit crime

Min rank to commit theft

 

As Ranks is a key built in feature,  i don't like the idea of reusing my own coded function  across multiple Mods. 

If it was just for my game, i would have added the code to user class. 😃

Link to comment
Share on other sites

2 hours ago, Sim said:

Id like to see a method/function added that checks players minimum Rank(i guess what you would call it). 

So if a game has 4 ranks and player is 3rd highest rank... Can call function to see if its higher then rankID.

Minimu. Rank to travel

Min rank to own item

Min rank to commit crime

Min rank to commit theft

 

As Ranks is a key built in feature,  i don't like the idea of reusing my own coded function  across multiple Mods. 

If it was just for my game, i would have added the code to user class. 😃

I kinda of get what your saying so a rank restriction on certain actions within the game?

if so as games use RankID as kind of a level in itself why wouldnt user rank >= rank required work as you could just say define a rank in crimes table and check if its the same or greater?

might have misunderstood but think thats what you want.

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...