Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Global objectClient APIGenerated

CharacterCreator

const CharacterCreator: object

Defined in: client/api.d.ts:3551

The game’s own character stage, for the local player to choose how they look.

Opens the pause screen on its character page, hides the page’s own panels and stands a panel of tabs – body, face, hair, beard – beside a figure the player dresses and turns. The keys are listed on the panel, named as the game names them.

Client-only and local: it changes nothing anywhere. characterCreatorClosed reports what the player accepted, and the resource decides what that means.

close(): boolean

Ends the open creator as closed.

boolean

False when none was open.

isOpen(): boolean

Whether a creator is open or going up.

boolean

True from open until its characterCreatorClosed.

open(options?): boolean

Opens a creator, ending one already open as replaced. The stage goes up on the next ticks; one that cannot ends as unavailable.

CharacterCreatorOptions

What to show.

boolean

True. Malformed options throw.