RPG Maker Forums Archive
Search Settings
Home › Game Development Engines › RPG Maker Javascript Plugins › Javascript/Plugin Support

MV How can I show textbox in setChoiceCallback?

Javascript/Plugin Support
S SpookyTed
Jan 9, 2023 23:10
$gameMessage.add('test'); // <--it works
$gameMessage.setChoices(['i!','am!'],0,1);
$gameMessage.setChoiceCallback(n => {
$gameMessage.add('test'); // <--it doesn't work
});

$gameMessage.add() is not working in setChoiceCallback();

How can I use it?

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-show-textbox-in-setchoicecallback.153946/

This is an unofficial, read-only archive preserved for the community. Original site: https://forums.rpgmakerweb.com

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About