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)
(Battle-Related Text Codes)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
---
 
---
  
<pre>
+
{| class="wikitable" style="width:800px"
--------------------  -----------------------------------------------------
+
! Text Code !! Effect (Battle Only)
Text Code             Effect (During Battle Only)
+
|-
--------------------  -----------------------------------------------------
+
| style="padding: 10px;"| <nowiki><Current Battle Target></nowiki>
 +
| style="padding: 10px;"| Replaces text code with the current target of an action in battle.
 +
|-
 +
| style="padding: 10px;"| <nowiki><Current Battle User></nowiki>
 +
| style="padding: 10px;"| Replaces text code with the currently active user in battle.
 +
|-
 +
| style="padding: 10px;"| <nowiki><Current Battle Action></nowiki>
 +
| style="padding: 10px;"| Replaces text code with the current battle action's name with an icon in front.
 +
|-
 +
| 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.
 +
|}
  
<Battle Target>        Name of the current battler being targeted by the
+
If there is no battle, no target, no user, or no action, then the text code
                      currently used action.
+
will just be replaced with no text.
<Battle User>          Name of the current battler performing the currently
+
 
                      used action.
+
These text codes are NOT recommended to be used inside of Help Descriptions.
<Battle Action>        Name of the current action's item/skill name with its
+
They are best used with "Show Text" event commands.
                      icon attached to it.
 
<Battle Action Name>  Name of the current action's item/skill name without
 
                      any icon attached to it.
 
</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.

---