Hi I was just wondering if it was possible to use a script call or plugin command to change the Gold Icon within an event? I saw in her script that she included an option to change it within the plugin parameters but I couldn't find information about changing it or any of the other plugin commands (other than gain/lose gold) within the game itself.
- Thanks
Where/how are you using it?
If it's in a Show Text or something, you can just use the built in \I escape code to display whatever icon you like.
The technical answer is the number you specified is stored in the global variable Yanfly.Icon.Gold, so you can use a script call to change that to whatever value you like.
It's being used in an event to change the gold icon displayed in the menu/shop interface, is this how you would write the script call?
$gameVariables.setValue(Yanfly.Icon.Gold, 76);
76 being the icon number?
I tried this and I didn't get any errors but it also didn't change anything.
Oh I see, I got it working now thanks to both of you.
Ty very much.