Orunu Posted April 13, 2011 Author Share Posted April 13, 2011 ok so for one of my ideas a "rebirth" system i want to have it so that```If Rebirth = True stat points per level * some numberElse normal stats per level```so how would i go about finding were the stat points u get per level are? Link to comment Share on other sites More sharing options...
Sada Posted April 15, 2011 Share Posted April 15, 2011 Open up modplayer.bas and go to edit, find then search for this```Call SetPlayerPOINTS(index, GetPlayerPOINTS(index) + 3)```:) Hope this helped Link to comment Share on other sites More sharing options...
Orunu Posted April 15, 2011 Author Share Posted April 15, 2011 mmk so then if i were to make a Rebirth system it would be something like this?```If Rebirth = trueCall SetPlayerPOINTS(index, GetPlayerPOINTS(index) + 3 * 2)ElseCall SetPlayerPOINTS(index, GetPlayerPOINTS(index) + 3)end If[code][/code]``` Link to comment Share on other sites More sharing options...
Sada Posted April 16, 2011 Share Posted April 16, 2011 Yeah something along those lines, i'm not sure where you're declaring rebirth and where it's value is coming from but you should probably have a rebirth variable saved for each player to see if they have been reborn (so you'd need to save it in their player file) then check if that individual players rebirth was equal to true or false. Link to comment Share on other sites More sharing options...
Orunu Posted April 16, 2011 Author Share Posted April 16, 2011 well im just curious havn't done anything with it yet im the in the midst of reading sams learn vb6 in 21 days so after i read that and have an understanding of vb6 is when i'll do all this i was just curious on how i would do that with the stats Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now