Sim Posted February 6, 2021 Share Posted February 6, 2021 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. 😃 Quote Link to comment Share on other sites More sharing options...
URBANZ Posted February 6, 2021 Share Posted February 6, 2021 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. 1 Quote Link to comment Share on other sites More sharing options...
Sim Posted February 7, 2021 Author Share Posted February 7, 2021 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 Quote Link to comment Share on other sites More sharing options...
Tom V Posted February 7, 2021 Share Posted February 7, 2021 (edited) You can still do what URBANZ is suggesting, just use US_exp >= US_exp required. Edited February 7, 2021 by Tom V Quote Link to comment Share on other sites More sharing options...
Sim Posted February 7, 2021 Author Share Posted February 7, 2021 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.