Yanfly Visual State Effect question....

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
240
Reaction score
41
First Language
English Spanish
Primarily Uses
Hi all!!
Im using this script http://yanfly.moe/2016/08/20/yep-114-visual-state-effects-rpg-maker-mv/

This plugin gives you the option to place the state icon over the player head and on the battle hud. There is a way to place the icon ONLY on the hud and not on the players head. BUT this option is a parameter on the plug in, where you chose true or false and applies for ALL states.

I want to have some states that appear on both (player``s head and hud) and some states that appear only on hud. So question is: Is there a way to put a plugin command, notetag, or even a way to turn the whole plugin off and on with an event?

Thanks!!!
 

dahlys

Meatbun
Veteran
Joined
Aug 28, 2017
Messages
95
Reaction score
99
First Language
English
Primarily Uses
RMMV
turn the whole plugin off and on with an event?
Add the following code into YEP_X_VisualStateFX.js, at the bottom of Parameter Variables and before DataManager
Code:
Game_Interpreter.prototype.setVSFXActorOver = function(bool) {
    Yanfly.Param.VSFXActorOver = bool;
};

Game_Interpreter.prototype.setVSFXActorIcons = function(bool) {
    Yanfly.Param.VSFXActorIcons = bool;
};

Game_Interpreter.prototype.setVSFXActorAni = function(bool) {
    Yanfly.Param.VSFXActorAni = bool;
};

Game_Interpreter.prototype.setVSFXEnemyOver = function(bool) {
    Yanfly.Param.VSFXEnemyOver = bool;
};

Game_Interpreter.prototype.setVSFXEnemyIcons = function(bool) {
    Yanfly.Param.VSFXEnemyIcons = bool;
};

Game_Interpreter.prototype.setVSFXEnemyAni = function(bool) {
    Yanfly.Param.VSFXEnemyAni = bool;
};
Now you can use script calls this.setVSFXActorOver(true/false) for hud, this.setVSFXActorIcons(true/false) for icons over the head, and so on... Changing it in-game.

BUT IT'S STILL FOR EVERYTHING :/
 
Last edited:

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
240
Reaction score
41
First Language
English Spanish
Primarily Uses
Thaaaaaanks!!!!!
Appreciate it!
 

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

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top