Script Call Support Boards

@Roninator2 That does the trick.
Thank you very much.
I have been trying to get an animation to play on a follower, not the party leader. I found an MV script call, this one:

Code:
$gamePlayer.followers().follower(0).requestAnimation(1);

I have tried converting this to Ruby, but no matter what I do, I end up with one part or another causing an error crash.

Could someone please translate this for me?
Thanks.
@Kes Try:
Ruby:
$game_player.followers[X].animation_id = Y
@A-Moonless-Night That works perfectly. Thank you very much.
Code:
$game_variables[1] = "\\c[1]test\\c[0]"

Above script call used to work on RMXP, but on RMVXA it only displays "\c[1]teste\c[0]". Why? 🙁
Are you using yanfly ace message system?
used to work on RMXP
The \\c is using an escape code. So what you're doing is saying \ escape the next \ and just write it out.
What you should have there is
Code:
\c[1]test\c[0]
Code:
$game_variables[1] = "\\c[1]test\\c[0]"

Above script call used to work on RMXP, but on RMVXA it only displays "\c[1]teste\c[0]". Why? 🙁
IIRC you need a quad \ which will be "\\\\c[1]test\\\\c[0]"
@Roninator2
Thanks for replying! I'm not using any custom script. What I meant is that on RMXP, the color code (\c[1]) worked perfectly well, whereas on RMVXA it's just getting read as plain text.

@TheoAllen
Thanks for replying! I've already tried single, double, triple, quad slashes, and still no success... On RMXP double slashes used to work perfectly well... 🙁
Oh, I see the problem now.

@TheNewSon Without a full explanation. Try this "\eC[1]test\eC[0]"
I can't confirm yet. I don't have my VXA right now.
@TheoAllen
It worked! Thank you so much, I don't think I'd be able to figure that out on my own! :awink:
You probably wouldn't. It's a hidden quirk that only exists in VXA and you will only figure this out by directly read the code.
Hey guys, I have a problem, I'm using Yanfly's Class System, and I want to call the class changing scene with a script call, but for specific a follower. How can I do that?

if I use
Code:
SceneManager.call(Scene_Class)
it goes straight to the party leader's class scene.

EDIT: if I click 'Q' or 'W' it changes between the other party members. But I still want to be eable to predefine which member's class scene it opens.
That is specific script support. Go make a new thread
@FAGC54 Just for further clarification, this board is for script calls that are used in events, and are independent of all custom scripts. So what works for one, works for all. e.g. "What is the script call to identify if actor X is equipped with weapon Y?"
Hi.
What's the script call to automatically cancel a choice selection? I want to setup a timer and, once the timer reaches zero, I want the game to automatically close the choice window.
That won't be a script call. That will be a script request.
Can anyone give me the script call for use in a conditional branch to check if the A switch on a particular event elsewhere on the map is ON or OFF?

Thanks.
Just write this. Replace map_id and event_id of course
Code:
$game_self_switches[[map_id, event_id, 'A']]
@TheoAllen Thank you.
@Kes you can use that very same condition to check if any self switch is ON in a different map as well, not just the map you are in.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-support-boards.25767/