Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,305
Reaction score
11,732
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
689
Reaction score
448
First Language
English
Primarily Uses
RMVXA
@Kes Try:
Ruby:
$game_player.followers[X].animation_id = Y
 
  • Like
Reactions: Kes

TheNewSon

Aspiring Game Designer
Veteran
Joined
Aug 24, 2019
Messages
75
Reaction score
125
First Language
Portuguese
Primarily Uses
RMMV
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,985
Reaction score
665
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
6,135
Reaction score
7,327
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

Aspiring Game Designer
Veteran
Joined
Aug 24, 2019
Messages
75
Reaction score
125
First Language
Portuguese
Primarily Uses
RMMV
@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
6,135
Reaction score
7,327
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

Aspiring Game Designer
Veteran
Joined
Aug 24, 2019
Messages
75
Reaction score
125
First Language
Portuguese
Primarily Uses
RMMV
@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
6,135
Reaction score
7,327
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
6,135
Reaction score
7,327
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,305
Reaction score
11,732
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?"
 

RedFawkes

Veteran
Veteran
Joined
Jun 21, 2018
Messages
39
Reaction score
16
First Language
BR Portuguese
Primarily Uses
RMVXA
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.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,135
Reaction score
7,327
First Language
Indonesian
Primarily Uses
RMVXA
That won't be a script call. That will be a script request.
 

Kes

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

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,135
Reaction score
7,327
First Language
Indonesian
Primarily Uses
RMVXA
Just write this. Replace map_id and event_id of course
Code:
$game_self_switches[[map_id, event_id, 'A']]
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
600
First Language
Italian
Primarily Uses
RMVXA
@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.
 
  • Like
Reactions: Kes

Latest Threads

Latest Posts

Latest Profile Posts

Signed a lease on a new place today. Back into town, closer to shops, family and takeaway - none of those could be a good thing! 10 days to moving date.
let me introduce you to my worlds source of "wool". A pretty simple-minded, easily scared and mostly blind, double-headed big wooly bird thingy :D Children may be able to ride on a trained one, but they don't support the weight of adults, so they aren't suitable for transportation. And herders use the shown tool to give them sound commands
6nwyqEJ.png
This Life is a Dream is in full production! More pics and some free promo assets coming soon!
Dragonfly3116 wrote on Redweaver's profile.
i need to ask do you mind sending me a link to tutorial town an legend of ancients Please My new Email is necroboy1973@gmail.com
I Am A Member On The Site Here As Well If Your Still teaching Let Me Know Thanks Joseph

Forum statistics

Threads
110,527
Messages
1,053,947
Members
143,618
Latest member
Flauschifluff
Top