Closed Jameskmonger closed 10 years ago
I designed the system to scan for the next available class, asking PlayerCanSelectClass
each time. It's ready to be improved.
Perhaps adding a callback that PlayerCanSelectClass calls, to allow maximum flexibility.
I'm sure that it would be relatively easy to implement the class editing, it would just require defining each class with an id
Each class does have an id - the one you get when creating it.
I mean saving this id rather than just using CreateClass and no using the returned value.
Oh you mean in the demo gamemode? Yeah, well there isn't a reason to do this currently.
Not just in the demo gamemode, I haven't been storing the id of the class anywhere. I think it would be pretty easy to implement class editing and allowance though, right?
Yeah, that's what I said. All you need to do, really, is modify PlayerCanSelectClass
. I will do this when starting on v1.1, but you can try doing it beforehand.
Alright, if I have any luck I'll send it to you :)
Could we look at implementing some functions to delete/hide and edit classes during runtime?