Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Change Class of Party Member[n]

Status
Not open for further replies.

polar_fawkes

Towns Guard
hiya! so trainers. trainers sell skillbooks for classes. they also will 'class-up' a dude if they meet prerequisites.

the message system allows for \P[n], which queries the name of party member [n] and then prints it in message box/choice list.

a few questions:
- is there a command/plugin that will allow me to check the level of Party Member[n]?
- is there a plugin/command that will allow me to change the class of Party Member[n]?

big blocker in my dev today. thanks a ton in advance.
 

Mr. Trivel

Praised Adventurer
Xy$
0.00
There are calls for it.
$gameParty.members()[n].level
^ for level
$gameParty.members()[n].changeClass(ID, KeepExP?)
^ to change class
 

polar_fawkes

Towns Guard
Thanks Trivel! Might followup w more specific questions as I code this thing. One last one for now, what's the js command to replace n with gameVariable.x? Ie if I know I'm storing partymember[1].ActorNumber in variable 0217, what would I put in the 'n' slot to indicate that I want the value of integer 0217 passed to the js command? Apologies if phrased oddly, I learned too many programming languages as a kid and now they all bleed together lol
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
I'm closing this thread due to being resolved if for any reason you'd like it re-opened please report the post and let us know why.
 
Status
Not open for further replies.
Top