chamster Posted July 9, 2012 Author Share Posted July 9, 2012 So how would you go about doing this? Link to comment Share on other sites More sharing options...
Joyce Posted July 9, 2012 Share Posted July 9, 2012 Well, in pseudocode..```If MyValue => MyRequirement (=> meaning equal to or above) Then Player(Index).Class = ClassIWantToProgressToEnd if```Pretty much like that. Your question is very vague, so I can't really make it any more detailed or tailored to your plans :P Link to comment Share on other sites More sharing options...
Jacquelinett Posted July 10, 2012 Share Posted July 10, 2012 Well, I will just expand what Joyce said:1\. If you want to make a specific location to change class:If GetPlayerX(Index) = (your X coordinate) and GetPlayerY(index) = (your Y coordinate) and GetPlayerMap(index) = (map number here)Player(Index).class = stuff.2\. If you want to make a specific level to change class:If GetPlayerLevel(Index) = LevelrequirementPlayer(Index).class = stuffThere are lots of thing that you can set requirement to. Take a look at modPlayer in the server. There are lots of function that return a value that can be used as a requirement.And oh, you cant just smack this code into the game and expect it to work, you whether need to use a scripted NPC, or, use an event system to add code, or, of course, code a sub your own, then call the command when you need it 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