Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hi, I bought the plugin primarily for the first feature you mentioned.

  • Creates a popup when a State is applied by an Item/Skill that shows a description and then hides itself after a user-defined number of frames.

But, I am having trouble setting that up.

I can only manage to make the state info display on 2 occasions: (which are explained on the plugin help section)
1. When player selects skill
2. When enemy uses skill.

Can you please help? Thank you very much.

(1 edit)

Hey satukilo, thanks for your inquiry.

To set up State Info Popup with States, you will need to do the following.

1. Create a State in the States Database. Add the following to their Note section:

<State Desc>
... add your State description here ...
</State Desc>

For the purposes of this example, let's say that is State 11.

2. Go to the Skill Database. On Skills that would apply that State, add the following to their Note section:

<Show State 11>

Here we are using State 11 because we set it up before. But the 11 could be any valid State ID.

3. To set the number of frames, open the plugin in the Plugin Manager and set the Display Timer to a value of your choosing. For example, 180 would refer to 180 frames. This value applies to each time a State Window would be shown.

Above is the standard method, but you if you would like a little more control than that you can also do this operation via Script Calls. This is sometimes better for Skills that may change what States they apply. In a Troop Event or anywhere that allows a Script Call, call this:

BattleManager.showStateWindows([11, 12, 13])

By calling this function you are having the Battle Manager show the State Windows for States 11, 12, and 13. These values must be included in an array. You can save State IDs to a game variable and give it to this function or you can define the contents of the array during the execution of the skill (such as if you are using YEP Action Sequences). Once you have called this function, make sure to call this function after:

BattleManager.clearStatuses()

This will clear all the State Windows on screen. You can set it to do so on a timer so that it disappears after a number of frames.

Hope some of this helps. Let us know if you need any further help with troubleshooting this plugin.

- MythAtelier Team

Hi MythAtelier Team,

Thank you so much for taking the time for the guide! Wonderful plugins made by your team.

Unless I have mistaken, I originally assumed that the state pop-up window would appear automatically upon successfully inflicting a state. 

This is because sometimes the proc chance of certain states aren't 100% in my game. So, I try to avoid displaying the pop-up window while selecting the skills, but only when the state is active on enemy/player. (then maybe disappear after certain timer)

I think this is still feasible with the below function you explained. (alongside with variables). However, implementing that in my game would require a tremendous amount of effort on my part.

BattleManager.showStateWindows([11, 12, 13])

That being said, thank you so much for your plugin & time! Great plugin!