The official VisuStella notetag help thread

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,835
Reaction score
7,848
First Language
English
Primarily Uses
RMMZ
It's come to my attention that a fair number of people are having issues getting their heads around the new JS injection parameters and notetags present in VisuStella's core plugins, and therefore they're struggling to achieve the effects they want. This will be especially true of people who were used to using YEP's hardcoded notetags for various effects, which are no longer present.

So in comes this thread! If you can't figure out how to make something you want work with the VS library, let me know what it is and I'll do what I can to give you the code you need to achieve it! Similarly to my lunatic notetag thread for MV.
 

chocopanda

Regular
Regular
Joined
Sep 24, 2017
Messages
48
Reaction score
21
First Language
English
Primarily Uses
RMMV
This will definitely a huge help especially for non-scripter like me..
 

winkr7

Regular
Regular
Joined
Oct 27, 2015
Messages
99
Reaction score
31
First Language
english
Primarily Uses
N/A
Great. I gave my actor a skill, Move Forward which is supposed to change his home position on the battle field. So if they use the skill over and over the battler will move from the right of the screen to the left closer to the enemy. How do I do this? I keep fooling with the <JS note tags. Is it user.setHome or target.setHome and which JS notetag is best (it prolly depends on my action sequence at the very end it needs a new Home location to return to with _homeX = _homeX-64
 

muge

Villager
Member
Joined
Oct 4, 2017
Messages
10
Reaction score
1
First Language
english
Primarily Uses
RMMV
Great! I have a qusetion
Lunatic Mode
MV is "user" or "target".startAnimation(id); ,But I can’t find a way to play animation in MZ
 

Myrmecodromo

The place where ants go.
Member
Joined
Aug 11, 2020
Messages
21
Reaction score
8
First Language
Español
Primarily Uses
RMMV
Great!, I really need help into this. I just installed messagecore and I was trying to do whatever. But now every text box when I try it crashes and says "C[6]PREVCOLOR[0]CC[PREVCOLOR][0]" and so on.
There's something i'm missing?
 

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,835
Reaction score
7,848
First Language
English
Primarily Uses
RMMZ
Great!, I really need help into this. I just installed messagecore and I was trying to do whatever. But now every text box when I try it crashes and says "C[6]PREVCOLOR[0]CC[PREVCOLOR][0]" and so on.
There's something i'm missing?

Last time I saw this, it was because someone had deleted actors from the actor tab but they were still in the initial party in the database. I know at least one report was submitted for it, but can you check that for me first?

Great. I gave my actor a skill, Move Forward which is supposed to change his home position on the battle field. So if they use the skill over and over the battler will move from the right of the screen to the left closer to the enemy. How do I do this? I keep fooling with the <JS note tags. Is it user.setHome or target.setHome and which JS notetag is best (it prolly depends on my action sequence at the very end it needs a new Home location to return to with _homeX = _homeX-64

It would depend on where in the action sequence you do it. Personally I would try

Code:
<JS Post-Apply>
  user.setHome(user._homeX - 64, user._homeY);
</JS Post-Apply>
 

Myrmecodromo

The place where ants go.
Member
Joined
Aug 11, 2020
Messages
21
Reaction score
8
First Language
Español
Primarily Uses
RMMV
Last time I saw this, it was because someone had deleted actors from the actor tab but they were still in the initial party in the database. I know at least one report was submitted for it, but can you check that for me first?

And... The problem is gone!, yep, that was it. Thank you very much for the support. If anything else happens, I'll be making more questions. Again, thanks a lot!
 

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,835
Reaction score
7,848
First Language
English
Primarily Uses
RMMZ
Great! I have a qusetion
Lunatic Mode
MV is "user" or "target".startAnimation(id); ,But I can’t find a way to play animation in MZ

MZ changed the way animations work. Objects no longer request animations themselves; it's handled by $gameTemp.requestAnimation.
 

winkr7

Regular
Regular
Joined
Oct 27, 2015
Messages
99
Reaction score
31
First Language
english
Primarily Uses
N/A
Thanks Trihan. I appreciate your help.
JS post-apply doesn't seem to execute so I put it in JS Post-Start Action and got this error.


Move Forward Skill JS Post-Start Action
VM712:42 TypeError: user.setHome is not a function
at Game_Action.eval (eval at VisuMZ.<computed>.<computed> (VisuMZ_1_BattleCore.js:1), <anonymous>:37:8)



thanks again for your help
 

Obipandawan

Regular
Regular
Joined
Jul 27, 2020
Messages
54
Reaction score
16
First Language
English
Primarily Uses
RMMV
i was able to figure it out with the MV yanfly stuff, but MZ i cannot seem to find where i can turn off putting the gauge back color onto all the item pages, it puts the gauge back color on all the data bars. even when i just change the gauge back color it still always look way off it has some kind of opacity setting to it that makes it way brighter then i need it to be.
 

muge

Villager
Member
Joined
Oct 4, 2017
Messages
10
Reaction score
1
First Language
english
Primarily Uses
RMMV
MZ changed the way animations work. Objects no longer request animations themselves; it's handled by $gameTemp.requestAnimation.
Thanks Trihan
But I try to use this.requestAnimation(user, 99, false); it shows error "not a function" in battle
 

Kes

Regular
Regular
Joined
Aug 3, 2012
Messages
23,872
Reaction score
13,875
First Language
English
Primarily Uses
RMMZ
Is it possible using a notetag in the States plugin to set a particular state animation so that it keeps running until the state is removed, rather than just once? An example would be the zzz's animation for sleep, or the spinning stars for confusion. In Ace this required a separate script (Yanfly's State Animations), but I was wondering if it has been incorporated into the main States plugin.
Thanks
 

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,835
Reaction score
7,848
First Language
English
Primarily Uses
RMMZ
Thanks Trihan
But I try to use this.requestAnimation(user, 99, false); it shows error "not a function" in battle

Don't use this, use $gameTemp.

Kes, I'll check that one out, I'm not 100% sure off-hand.
 
  • Like
Reactions: Kes

Uzuki

Kawaii on the streets, Senpai in the sheets
Regular
Joined
Aug 18, 2012
Messages
1,959
Reaction score
1,354
First Language
English
Primarily Uses
RMMV
Hello! I want to do two things that I'm having a bit of difficulty figuring out. So for one when a state is removed I want to add a formula that will damage the target that removed the state using this notetag:

<JS On Erase State>
code
code
</JS On Erase State>

Then for another formula that adds another state when it expires using this notetag:

<JS On Expire State>
code
code
</JS On Expire State>

How do I go about this?
 

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,835
Reaction score
7,848
First Language
English
Primarily Uses
RMMZ
Hmm. That might be a tough one to crack, since I don't *think* there's a reference to who used a skill/item that removed a particular state at the point where that notetag runs, but I'll have a look into it for you.
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Regular
Joined
Aug 18, 2012
Messages
1,959
Reaction score
1,354
First Language
English
Primarily Uses
RMMV
@Trihan Random works too if that helps.
 

KotCR

Villager
Member
Joined
Oct 25, 2014
Messages
13
Reaction score
2
First Language
English
Primarily Uses
When using the ItemEquipsCore, is there any way to change Equipment Options for a character at run-time?

Looking at the wiki page for it yanfly.moe, it appears the equipment set-ups of each class can only be edited through the notetags on the class page in the database? Is there any undocumented notetags (or ones I simply missed) we can use on something else (like a piece of equipment or a state), to change these actively during gameplay?
 

Kupotepo

Fantasy realist/Advocatus Diaboli
Regular
Joined
Jul 5, 2017
Messages
1,943
Reaction score
2,104
First Language
Thai
Primarily Uses
RMMV
I am ok thank you.
 
Last edited:

Trihan

Speedy Scripter
Regular
Joined
Apr 12, 2012
Messages
6,835
Reaction score
7,848
First Language
English
Primarily Uses
RMMZ
Hey all, I am getting to the new posts, just been quite busy the past couple of days. <3
 

Cyberhawk

Bravelion Leader
Regular
Joined
Jan 9, 2019
Messages
151
Reaction score
109
First Language
English
Primarily Uses
RMMZ
Man, I'm still trying to grip at the Slip dmg and Slip heal state tags.
Dont have access to it atm but like it's not as stream lined as it was in MV lol.
 

Latest Threads

Latest Profile Posts

Screenshot saturday!

Granny's home

Happy weekend all

home.png
Would an older woman be eligible for Blondus points?
Or is that a privilege exclusive to the youngsters?
Lindsey-Neutral.png
Another One.gif
Sometimes screenshot saturday is just a new enemy
Update: Coworker sabotaged the truck's mirrors by applying a threadlocking compound to the bolts used to adjust the mirrors. Now NO ONE can adjust them. So I filed a legit report of sabotage of equipment to leadership and declared that I cannot safely operate the vehicle if I can't see what needs to be seen. So the truck has to go to the shop for repair, and we need a substitute vehicle. Nice work, dude :p
1701524304115.png
Part of growing up is finding out that love hurts.
"I signed up for this heartbreak."

Forum statistics

Threads
136,687
Messages
1,268,757
Members
180,394
Latest member
Shaltai
Top