Script call to change party members class?

Status
Not open for further replies.

KroodyGames

Game Music/Character Art
Member
Joined
Aug 14, 2020
Messages
9
Reaction score
3
First Language
English
Primarily Uses
RMMV
Looking for a simple script call to change a party members class. not a specific actor.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
41,298
Reaction score
14,275
First Language
English
Primarily Uses
RMMV
$gameParty.members()[0].changeClass(classId, keepExp)

where 0 means the leader, 1 means the first follower, etc. classId is the new class id with no leading zeros, and keepExp is either true or false.
 

KroodyGames

Game Music/Character Art
Member
Joined
Aug 14, 2020
Messages
9
Reaction score
3
First Language
English
Primarily Uses
RMMV
thank you Shaz! nobody specified before that keepExp wasnt part of the code, and needed to be replaced with "true" or "false". works perfect now.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
41,298
Reaction score
14,275
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

I haven't been on here in forever wow(missed my forum birthday T-T). Anyways, I'm dabbling in BGMs, here's something I'm actually willing to share.

Binge-watched 6 episodes of the Erased anime... And that means I've watched half of it?! Sigh...
I'm bad at base-building games (looking at other players created an aesthetically beautiful base compared to me), but IDK why I keep playing the game and seek more of it.
Pyra and Mythra in smash ultimate are way too OP. They're basically Smash 4 Bayonetta 2.0, and not in a good way. Very toxic and unfair. At least they're hot tho.
attack on titan keep reaching a new height with each episode, aaa I can't wait another week for a new episode at this point

Forum statistics

Threads
109,197
Messages
1,042,966
Members
141,700
Latest member
skybola188
Top