Sakis Posted April 15, 2009 Author Share Posted April 15, 2009 @samdeath:> First add this to your Sub JoinGame> > ```> 'Adds starting items to Class 0> If GetPlayerLevel(index) = 1 Then> If GetPlayerEXP(index) = 0 Then> If GetPlayerClass(index) = 0 Then> Call SetPlayerInvItemNum(index, , )> End If> End If> End If> > 'Adds starting items to Class 1> If GetPlayerLevel(index) = 1 Then> If GetPlayerEXP(index) = 0 Then> If GetPlayerClass(index) = 0 Then> Call SetPlayerInvItemNum(index, , )> End If> End If> End If> > 'Adds starting items to Class 2> If GetPlayerLevel(index) = 1 Then> If GetPlayerEXP(index) = 0 Then> If GetPlayerClass(index) = 0 Then> Call SetPlayerInvItemNum(index, , )> End If> End If> End If> > 'Adds starting items to Class 3> If GetPlayerLevel(index) = 1 Then> If GetPlayerEXP(index) = 0 Then> If GetPlayerClass(index) = 0 Then> Call SetPlayerInvItemNum(index, , )> End If> End If> End If> > 'Adds starting items to Class 4> If GetPlayerLevel(index) = 1 Then> If GetPlayerEXP(index) = 0 Then> If GetPlayerClass(index) = 0 Then> Call SetPlayerInvItemNum(index, , )> End If> End If> End If> ```> Basically set the required numbers and for any other items just add another> ```> Call SetPlayerInvItemNum(index, , )> ```what should I place in the iventroy slot number…do i place something like this:Call SetPlayerInvItemNum(1, 1, 1000) to give them gold in the 1st slot? Link to comment Share on other sites More sharing options...
Bobosk Posted April 15, 2009 Share Posted April 15, 2009 yes… Link to comment Share on other sites More sharing options...
Admiral Refuge Posted April 15, 2009 Share Posted April 15, 2009 I'd recomend this one:http://www.touchofdeathforums.com/smf/index.php/topic,15331.0.htmlIt uses inis in the class.ini files, which makes things alot more simple. Link to comment Share on other sites More sharing options...
Sakis Posted April 15, 2009 Author Share Posted April 15, 2009 @Ã…ÃÂüiÑÂôζ:> I'd recomend this one:> http://www.touchofdeathforums.com/smf/index.php/topic,15331.0.html> > It uses inis in the class.ini files, which makes things alot more simple.i tried that one before and i had some difficulties with it so i decided to actually just do this one since i only have 12 real classes to actually start with and stuff…plus i can do this one quicker since it actually seems like it will not cause any real bugs and stuff to my game characters and stuff Link to comment Share on other sites More sharing options...
Bobosk Posted April 15, 2009 Share Posted April 15, 2009 you never know, even the simplest of scripts can go awry Link to comment Share on other sites More sharing options...
Sakis Posted April 15, 2009 Author Share Posted April 15, 2009 @Bobosk:> you never know, even the simplest of scripts can go awryyeah i just need someone to help start it off for me and then let me go from there because if I had some scripter to help me then I would be able to do the other script code for it even better…thats what i really need though 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