Game (functions)/Character Control/Table

From PMDOWiki
Function Description
SetCharacterNickname Sets a character's nickname.
GetCharacterNickname Returns the nickname of the passed character.
CanRelearn Checks if the character can relearn any skills. Returns true if they can, false if they can't.
CanForget Checks if the character can forget any skills. Returns true if they can, false if they can't.
CanLearn Checks if the character can learn any skills.
CheckLevelSkills Checks the levels gained by a character and prompts to learn all skills along the levels.
TryLearnSkill Attempts to give a new skill to the specified character, prompting to replace an old one if they are full.
LearnSkill Gives a new skill to a specified character. Fails if the character's skills are full.
ForgetSkill Removes a skill from the specified character.
LockSkill Makes a skill impossible to forget or replace for the specified character.
UnlockSkill Unlocks a previously locked skill for the specified character, making it possible to be forgotten or replaced during normal gameplay.
SetCharacterSkill Gives a new skill to a specified character, replacing a specifically chosen slot.
GetCharacterSkill Gets the skill from a specified character and specified slot.
CanPromote Checks if the character can be promoted to a new class. (In PMDO, this is evolution.)
GetAvailablePromotions Gets a list of possible classes that the character can promote to. (In PMDO, this is evolution.)
PromoteCharacter Promotes a character to a new class. (In PMDO, this is evolution.)