Script Call Support Boards

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,008
Reaction score
11,340
First Language
English
Primarily Uses
RMVXA
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.
 

A-Moonless-Night

WINTER IS COMING
Veteran
Joined
Mar 17, 2012
Messages
638
Reaction score
416
First Language
English
Primarily Uses
RMVXA
@Kes Try:
Ruby:
$game_player.followers[X].animation_id = Y
 
  • Like
Reactions: Kes

TheNewSon

Veteran
Veteran
Joined
Aug 24, 2019
Messages
69
Reaction score
114
First Language
N/A
Primarily Uses
N/A
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? :(
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,336
Reaction score
483
First Language
English
Primarily Uses
RMVXA
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]
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,291
Reaction score
6,050
First Language
Indonesian
Primarily Uses
RMVXA
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]"
 

TheNewSon

Veteran
Veteran
Joined
Aug 24, 2019
Messages
69
Reaction score
114
First Language
N/A
Primarily Uses
N/A
@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... :(
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,291
Reaction score
6,050
First Language
Indonesian
Primarily Uses
RMVXA
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.
 

TheNewSon

Veteran
Veteran
Joined
Aug 24, 2019
Messages
69
Reaction score
114
First Language
N/A
Primarily Uses
N/A
@TheoAllen
It worked! Thank you so much, I don't think I'd be able to figure that out on my own! :awink:
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,291
Reaction score
6,050
First Language
Indonesian
Primarily Uses
RMVXA
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.
 

FAGC54

What was that variable for?
Veteran
Joined
Apr 22, 2017
Messages
49
Reaction score
2
First Language
Spanish
Primarily Uses
RMVXA
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.
 
Last edited:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,291
Reaction score
6,050
First Language
Indonesian
Primarily Uses
RMVXA
That is specific script support. Go make a new thread
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,008
Reaction score
11,340
First Language
English
Primarily Uses
RMVXA
@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?"
 

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Profile Posts

lunarrosecrow wrote on hiddenone's profile.
please don't lurk hiddenone I'm quarantining!!!
lunarrosecrow wrote on Edward.T's profile.
Hello Edward sorry to bother you and didn't start a conversation cause I thought i'd be a little weird or disrespectful but I was wondering do you still have your Generator resources you posted as the links on the page are dead?
Stream will be live shortly! It is my birthday, and thus I am doing an extended stream! I will be doing a variety of things. Among the activities I will be doing: Playing Oceanhorn: Monster of the Uncharted Seas, art, and some Text Adventure~ Feel free to drop by!
It would be cool if you could "copy as code" event commands :< .
Just managed to recover my Yahoo e-mail that i lost 3 months ago. Turns out an IP from U.S had hacked it and set the pass back to normal.. Like WTF ?

Forum statistics

Threads
99,479
Messages
965,901
Members
131,108
Latest member
tillyxluna
Top