Jump to content
MakeWebGames

Module / User class function suggestion


Recommended Posts

Posted

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. 😃

Posted
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
Posted

rankID doesn't necessary have to be in order of rank.

1 2 3 4....10

Where rankID 1 could be the highest rank or the 2nd highest rank or the lowest rank. 

Edit: Ranks in the engine are just names, no numerical ranks

Posted
42 minutes ago, Tom V said:

You can still do what URBANZ is suggesting, just use US_exp >= US_exp required.

Can / do / will.

This isnt for me, it was idea for engine. 

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...