Difference between revisions of "Template:VisuMZ Battle Command - Talk Text Codes"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(Battle-Related Text Codes)
 
Line 8: Line 8:
 
---
 
---
  
<pre>
+
{| class="wikitable" style="width:800px"
----------------------------  ---------------------------------------------
+
! Text Code !! Effect (Battle Only)
Text Code                     Effect (Battle Only)
+
|-
----------------------------  ---------------------------------------------
+
| style="padding: 10px;"| <nowiki><Current Battle Target></nowiki>
<Current Battle Target>       Replaces text code with the current target of
+
| style="padding: 10px;"| Replaces text code with the current target of an action in battle.
                              an action in battle.
+
|-
<Current Battle User>         Replaces text code with the currently active
+
| style="padding: 10px;"| <nowiki><Current Battle User></nowiki>
                              user in battle.
+
| style="padding: 10px;"| Replaces text code with the currently active user in battle.
<Current Battle Action>       Replaces text code with the current battle
+
|-
                              action's name with an icon in front.
+
| style="padding: 10px;"| <nowiki><Current Battle Action></nowiki>
<Current Battle Action Name>   Replaces text code with the current battle
+
| style="padding: 10px;"| Replaces text code with the current battle action's name with an icon in front.
                              action's name without an icon.
+
|-
 +
| style="padding: 10px;"| <nowiki><Current Battle Action Name></nowiki>
 +
| style="padding: 10px;"| Replaces text code with the current battle action's name without an icon.
 +
|}
  
 
If there is no battle, no target, no user, or no action, then the text code
 
If there is no battle, no target, no user, or no action, then the text code
Line 26: Line 29:
 
These text codes are NOT recommended to be used inside of Help Descriptions.
 
These text codes are NOT recommended to be used inside of Help Descriptions.
 
They are best used with "Show Text" event commands.
 
They are best used with "Show Text" event commands.
</pre>
 
  
 
---
 
---

Latest revision as of 23:39, 23 December 2023

The following are text codes that you may use with this plugin.

Battle-Related Text Codes

BattleCmdTalk 2.gif

---

Text Code Effect (Battle Only)
<Current Battle Target> Replaces text code with the current target of an action in battle.
<Current Battle User> Replaces text code with the currently active user in battle.
<Current Battle Action> Replaces text code with the current battle action's name with an icon in front.
<Current Battle Action Name> Replaces text code with the current battle action's name without an icon.

If there is no battle, no target, no user, or no action, then the text code will just be replaced with no text.

These text codes are NOT recommended to be used inside of Help Descriptions. They are best used with "Show Text" event commands.

---