Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Class button


Jumbofile
 Share

Recommended Posts

It'll likely be a hardcoded system over a standard dynamic one as the dropdown box is. But it's really not that hard, a button will set the value for a variable which is the class chosen, and send that over instead of the dropdown box index.
Link to comment
Share on other sites

Simply add the button to your frmMenu form in the character creation panel or whatever and in double click on the button to get into its code and simply put,

newCharClass = 1

newCharSprite = 0

(replace 1 with whatever)

And with that you can remove the dropdown list and go from there. If you make more buttons you just replace 1 with 2, 3, and so on.

-JC
Link to comment
Share on other sites

what would i do with this since i got rid of cmbclass

```

If frmMenu.optMale.Value Then
Call SendAddChar(frmMenu.txtCName, SEX_MALE, frmMenu.cmbClass.ListIndex + 1, newCharSprite)
Else
Call SendAddChar(frmMenu.txtCName, SEX_FEMALE, frmMenu.cmbClass.ListIndex + 1, newCharSprite)
End If
End If

```
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...