I'm in the middle of creating a skill with a common event that inflicts a state, but the text that normally pops up when that state is applied doesn't appear. Is there something within Battle Core that I'm missing, or is this not possible? Thank you!
MZ VisuStellaMZ Battle Core State Affliction Text
Javascript/Plugin SupportYou can use (even in normal common events) the Battle Core Action Sequence plugin command 'BTLOG: Add text' to write whatever you want there. You can use text codes there, so if you put the enemy name in a variable, you can put text like:
\V[100]'s internals have been disrupted!
You can put it in a conditional where you check that the target is indeed state affected (to account for immunities etc).
I assume you already managed to reference the enemy in the common event if you managed to add the state. So you can use control variables script to put the name in the variable, like (change battler to your reference):
\V[100]'s internals have been disrupted!
You can put it in a conditional where you check that the target is indeed state affected (to account for immunities etc).
I assume you already managed to reference the enemy in the common event if you managed to add the state. So you can use control variables script to put the name in the variable, like (change battler to your reference):
battler.name()Link for reference:
www.yanfly.moe
Check the plugin's Battle Log Settings parameter. One of them is named Show Added States?, which seems relevant. 👋
Battle Core VisuStella MZ - Yanfly.moe Wiki
@caethyril I don't think that matters if they're adding the state in the common event.
Oh, good point! I missed that part. 😊
I added the state in the common event through selecting current target. Does the variable name text code work the same way as %1, where it's pulling the target name? I'm planning to have multiple enemies be susceptible to this state.
If you're using VS plugins you can use control variable script field:
And then in the plugin command text
EDIT: 100 here being example variable id
$target.name()And then in the plugin command text
\V[100] blah blah blahEDIT: 100 here being example variable id
That's worked great, thanks!
Original thread: https://forums.rpgmakerweb.com/threads/visustellamz-battle-core-state-affliction-text.183727/