how can i show a script in elections

Hello good. See how I can show a script in these options.

thanks



choise.png
Hello good. See how I can show a script in these options.

thanks



View attachment 168515
no you can't... the built in show choice did not work that way...
Although... if you want to show actor 1 hp (your example above)
you can store actor 1 hp to a variable first using
Control Variables -> Operand GameData -> Actor 1 -> Hp.
and then use \v[your variable id] in the show choice...
example:
1605931954985.png


but if you want more complex script call inside show choice... you can also use
Change Variable -> Operand -> Script -> place your script code there...
since variables actually can store anything (string, object, anything) not just numbers...
then use the above method to show it.

Hope this help

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-show-a-script-in-elections.130128/