Skip to content

Global Class "CharacterMenu"⚓︎

Info

You can get this class by using the CharacterMenu global table.

Note that to call these functions, you must use a . (period) instead of a : (colon)!

Example Code
1
local sprite = CharacterMenu.GetBGSprite()

Functions⚓︎

GetBigCharPageSprite ()⚓︎

Sprite GetBigCharPageSprite ( )⚓︎


GetBGSprite ()⚓︎

Sprite GetBGSprite ( )⚓︎


GetCharacterPortraitSprite ()⚓︎

Sprite GetCharacterPortraitSprite ( )⚓︎


GetCharacterWheelDepth ()⚓︎

float GetCharacterWheelDepth ( )⚓︎

Returns the depth of the character selection wheel object.


GetCharacterWheelWidth ()⚓︎

float GetCharacterWheelWidth ( )⚓︎

Returns the width of the character selection wheel object.


GetDifficulty ()⚓︎

int GetDifficulty ( )⚓︎


GetDifficultyPageSprite ()⚓︎

Sprite GetDifficultyPageSprite ( )⚓︎


GetDifficultyOverlaySprite ()⚓︎

Sprite GetDifficultyOverlaySprite ( )⚓︎

The blood stain when selecting Hard mode / Greedier


GetEastereggPageSprite ()⚓︎

Sprite GetEastereggPageSprite ( )⚓︎


GetIsCharacterUnlocked ()⚓︎

boolean GetIsCharacterUnlocked ( )⚓︎


GetGreedDecoSprite ()⚓︎

Sprite GetGreedDecoSprite ( )⚓︎

Displayed when greedmode is selected


GetNumCharacters ()⚓︎

int GetNumCharacters ( )⚓︎

Number of characters in the wheel.


GetPageSwapWidgetSprite ()⚓︎

Sprite GetPageSwapWidgetSprite ( )⚓︎


GetScrollSpeed ()⚓︎

float GetScrollSpeed ( )⚓︎

Returns the speed of the animation playing when rotating the character selection wheel.


GetSeedEntrySprite ()⚓︎

Sprite GetSeedEntrySprite ( )⚓︎


GetSeedPageSprite ()⚓︎

Sprite GetSeedPageSprite ( )⚓︎


GetSeedUnlockPageSprite ()⚓︎

Sprite GetSeedUnlockPageSprite ( )⚓︎


GetSelectedCharacterMenu ()⚓︎

int GetSelectedCharacterMenu ( )⚓︎

0 for Normal, 1 for Tainted


GetSelectedCharacterID ()⚓︎

int GetSelectedCharacterID ( )⚓︎


GetTaintedBGDecoSprite ()⚓︎

Sprite GetTaintedBGDecoSprite ( )⚓︎


GetWinStreakPageSprite ()⚓︎

Sprite GetWinStreakPageSprite ( )⚓︎


SetCharacterWheelDepth ()⚓︎

void SetCharacterWheelDepth ( float Value )⚓︎

Set the depth of the character selection wheel object.


SetCharacterWheelWidth ()⚓︎

void SetCharacterWheelWidth ( float Value )⚓︎

Set the width of the character selection wheel object.


SetDifficulty ()⚓︎

void SetDifficulty ( Difficulty Difficulty )⚓︎


SetIsCharacterUnlocked ()⚓︎

void SetIsCharacterUnlocked ( boolean IsUnlocked )⚓︎


SetScrollSpeed ()⚓︎

void SetScrollSpeed ( float Speed )⚓︎

Set the speed of the animation playing when rotating the character selection wheel.


SetSelectedCharacterMenu ()⚓︎

void SetSelectedCharacterMenu ( int Menu )⚓︎

0 for Normal, 1 for Tainted


SetSelectedCharacterID ()⚓︎

void SetSelectedCharacterID ( int CharacterID )⚓︎