Difference between revisions of "Template:VisuMZ Message Core Plugin Commands"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(Choice Plugin Commands)
 
(9 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
---
 
---
  
[[File:MessageCorePluginCommand1.png]]
+
=== Message Plugin Commands ===
 +
 
 +
---
 +
 
 +
[[File:MessageCoreLargerMessageBox.png|600px]]
 +
 
 +
[[File:MessageCore_Update30_Command1.png]]
  
 
<pre>
 
<pre>
Line 18: Line 24:
 
   - Change the Message Window width in pixels.
 
   - Change the Message Window width in pixels.
 
   - Leave at 0 to keep it unchanged.
 
   - Leave at 0 to keep it unchanged.
 
  Center:
 
  - Center the window X after changing its width?
 
  
 
   Word Wrap:
 
   Word Wrap:
 
   - Enable or disable Word Wrap for the Message Window?
 
   - Enable or disable Word Wrap for the Message Window?
 
</pre>
 
</pre>
 +
 +
---
 +
 +
[[File:MessageCore_Update30_Command2.png]]
 +
 +
<pre>
 +
Message: X/Y Offsets
 +
- Change the X and Y Offsets of the Message Window.
 +
- The offset value(s) will be saved and stored.
 +
 +
  Offset X:
 +
  - Offset Message Window horizontally.
 +
  - Negative: Left; Positive: Right
 +
  - Message Window coordinates are still restricted via clamping.
 +
 +
  Offset Y:
 +
  - Offset Message Window vertically.
 +
  - Negative: Up; Positive: Down
 +
  - Message Window coordinates are still restricted via clamping.
 +
</pre>
 +
 +
---
 +
 +
=== Choice Plugin Commands ===
  
 
---
 
---
  
 
[[File:MessageCoreExpandedChoices.png|600px]]
 
[[File:MessageCoreExpandedChoices.png|600px]]
 +
 +
---
 +
 +
[[File:MessageCore_Update133_Command1.png]]
 +
 +
<pre>
 +
Choices: Distance
 +
- Change the distance from choice window to the message window.
 +
 +
  Distance:
 +
  - Change distance between the choice and message windows.
 +
  - Default distance is 0.
 +
  - Use negative to center align with remaining space.
 +
</pre>
 +
 +
---
  
 
[[File:MessageCorePluginCommand2.png]]
 
[[File:MessageCorePluginCommand2.png]]
Line 36: Line 79:
 
   Change the properties found in the Show Choices event command.
 
   Change the properties found in the Show Choices event command.
  
   Line Height:
+
   Choice Line Height:
 
   - Change the line height for the show choices.
 
   - Change the line height for the show choices.
 
   - Leave at 0 to keep this unchanged.
 
   - Leave at 0 to keep this unchanged.
 +
 +
  Minimum Choice Width:
 +
  - What is the minimum width size for each choice?
 +
  - 96 is the default width.
  
 
   Max Rows:
 
   Max Rows:
Line 50: Line 97:
 
   Text Alignment:
 
   Text Alignment:
 
   - Text alignment for Show Choice window.
 
   - Text alignment for Show Choice window.
 +
</pre>
 +
 +
---
 +
 +
=== Picture Plugin Commands ===
 +
 +
---
 +
 +
[[File:MessageCore_PictureText.png|600px]]
 +
 +
[[File:MessageCore_Update33_Command1.png]]
 +
 +
<pre>
 +
Picture: Change Text
 +
- Change text for target picture(s) to show.
 +
- You may use text codes.
 +
- Text will adapt to picture's properties.
 +
- Settings will be erased if picture is erased.
 +
 +
  Picture ID(s):
 +
  - The ID(s) of the picture(s) to set text to.
 +
 +
  Padding:
 +
  - How much padding from the sides should there be?
 +
 +
  Text:
 +
 +
    Upper Left:
 +
    Upper Center:
 +
    Upper Right:
 +
    Middle Left:
 +
    Middle Center:
 +
    Middle Right:
 +
    Lower Left:
 +
    Lower Center:
 +
    Lower Right:
 +
    - The text that's aligned to this picture's side.
 +
    - You may use text codes.
 +
</pre>
 +
 +
---
 +
 +
[[File:MessageCore_Update33_Command2.png]]
 +
 +
<pre>
 +
Picture: Erase Text
 +
- Erase all text for target picture(s).
 +
 +
  Picture ID(s):
 +
  - The ID(s) of the picture(s) to erase text for.
 +
</pre>
 +
 +
---
 +
 +
[[File:MessageCore_Update95_Command1.png]]
 +
 +
<pre>
 +
Picture: Refresh Text
 +
- Refreshes the text used for all on-screen pictures.
 +
- To be used if any dynamic text codes are updated like \n[x].
 +
</pre>
 +
 +
---
 +
 +
=== Select Plugin Commands ===
 +
 +
---
 +
 +
[[File:MessageCore_Update123_Preview2.png|600px]]
 +
 +
[[File:MessageCore_Update123_Command1.png]]
 +
 +
<pre>
 +
Select: Weapon
 +
- Opens the Event Select Item Window to let the player pick a weapon to
 +
  choose from.
 +
- Can be opened while the Message Window is open.
 +
 +
  Variable ID:
 +
  - This variable will be used to record the ID of the selected weapon.
 +
  - It will result in 0 otherwise.
 +
 +
  Weapon Type ID:
 +
  - Reduce all the weapons to a specific weapon type.
 +
  - Leave at 0 to not use filters.
 +
</pre>
 +
 +
---
 +
 +
[[File:MessageCore_Update123_Preview3.png|600px]]
 +
 +
[[File:MessageCore_Update123_Command2.png]]
 +
 +
<pre>
 +
Select: Armor
 +
- Opens the Event Select Item Window to let the player pick an armor to
 +
  choose from.
 +
- Can be opened while the Message Window is open.
 +
 +
  Variable ID:
 +
  - This variable will be used to record the ID of the selected armor.
 +
  - It will result in 0 otherwise.
 +
 +
  Armor Type ID:
 +
  - Reduce all the armors to a specific armor type.
 +
  - Leave at 0 to not use filters.
 +
 +
  Equip Type ID:
 +
  - Reduce all the armors to a specific equip type.
 +
  - Leave at 0 to not use filters.
 +
</pre>
 +
 +
---
 +
 +
[[File:MessageCore_Update123_Preview4.png|600px]]
 +
 +
[[File:MessageCore_Update123_Command3.png]]
 +
 +
<pre>
 +
Select: Skill
 +
- Opens the Event Select Item Window to let the player pick a skill to
 +
  choose from.
 +
- Requires VisuMZ_1_SkillsStatesCore!
 +
- Can be opened while the Message Window is open.
 +
- Skills will not be listed if they are hidden by the actor.
 +
- Skills will not be listed if the actor lacks access to their Skill Type.
 +
 +
  Variable ID:
 +
  - This variable will be used to record the ID of the selected skill.
 +
  - It will result in 0 otherwise.
 +
 +
  Actor ID:
 +
  - Select an actor to get the skill list from.
 +
  - Use 0 to select from the party leader.
 +
 +
  Skill Type ID:
 +
  - Reduce all the skills to a specific skill type.
 +
  - Leave at 0 to not use filters.
 
</pre>
 
</pre>
  
 
---
 
---

Latest revision as of 11:18, 17 January 2024

The following are Plugin Commands that come with this plugin. They can be accessed through the Plugin Command event command.

---

Message Plugin Commands

---

MessageCoreLargerMessageBox.png

MessageCore Update30 Command1.png

Message: Properties
  Change the various properties of the Message Window.

  Rows:
  - Change the number of Message Window rows.
  - Leave at 0 to keep it unchanged.

  Width:
  - Change the Message Window width in pixels.
  - Leave at 0 to keep it unchanged.

  Word Wrap:
  - Enable or disable Word Wrap for the Message Window?

---

MessageCore Update30 Command2.png

Message: X/Y Offsets
- Change the X and Y Offsets of the Message Window.
- The offset value(s) will be saved and stored.

  Offset X:
  - Offset Message Window horizontally.
  - Negative: Left; Positive: Right
  - Message Window coordinates are still restricted via clamping.

  Offset Y:
  - Offset Message Window vertically.
  - Negative: Up; Positive: Down
  - Message Window coordinates are still restricted via clamping.

---

Choice Plugin Commands

---

MessageCoreExpandedChoices.png

---

MessageCore Update133 Command1.png

Choices: Distance
- Change the distance from choice window to the message window.

  Distance:
  - Change distance between the choice and message windows.
  - Default distance is 0.
  - Use negative to center align with remaining space.

---

MessageCorePluginCommand2.png

Choice: Properties
  Change the properties found in the Show Choices event command.

  Choice Line Height:
  - Change the line height for the show choices.
  - Leave at 0 to keep this unchanged.

  Minimum Choice Width:
  - What is the minimum width size for each choice?
  - 96 is the default width.

  Max Rows:
  - Maximum number of choice rows to be displayed.
  - Leave at 0 to keep this unchanged.

  Max Columns:
  - Maximum number of choice columns to be displayed.
  - Leave at 0 to keep this unchanged.

  Text Alignment:
  - Text alignment for Show Choice window.

---

Picture Plugin Commands

---

MessageCore PictureText.png

MessageCore Update33 Command1.png

Picture: Change Text
- Change text for target picture(s) to show.
- You may use text codes.
- Text will adapt to picture's properties.
- Settings will be erased if picture is erased.

  Picture ID(s):
  - The ID(s) of the picture(s) to set text to.

  Padding:
  - How much padding from the sides should there be?

  Text:

    Upper Left:
    Upper Center:
    Upper Right:
    Middle Left:
    Middle Center:
    Middle Right:
    Lower Left:
    Lower Center:
    Lower Right:
    - The text that's aligned to this picture's side.
    - You may use text codes.

---

MessageCore Update33 Command2.png

Picture: Erase Text
- Erase all text for target picture(s).

  Picture ID(s):
  - The ID(s) of the picture(s) to erase text for.

---

MessageCore Update95 Command1.png

Picture: Refresh Text
- Refreshes the text used for all on-screen pictures.
- To be used if any dynamic text codes are updated like \n[x].

---

Select Plugin Commands

---

MessageCore Update123 Preview2.png

MessageCore Update123 Command1.png

Select: Weapon
- Opens the Event Select Item Window to let the player pick a weapon to
  choose from.
- Can be opened while the Message Window is open.

  Variable ID:
  - This variable will be used to record the ID of the selected weapon.
  - It will result in 0 otherwise.

  Weapon Type ID:
  - Reduce all the weapons to a specific weapon type.
  - Leave at 0 to not use filters.

---

MessageCore Update123 Preview3.png

MessageCore Update123 Command2.png

Select: Armor
- Opens the Event Select Item Window to let the player pick an armor to
  choose from.
- Can be opened while the Message Window is open.

  Variable ID:
  - This variable will be used to record the ID of the selected armor.
  - It will result in 0 otherwise.

  Armor Type ID:
  - Reduce all the armors to a specific armor type.
  - Leave at 0 to not use filters.

  Equip Type ID:
  - Reduce all the armors to a specific equip type.
  - Leave at 0 to not use filters.

---

MessageCore Update123 Preview4.png

MessageCore Update123 Command3.png

Select: Skill
- Opens the Event Select Item Window to let the player pick a skill to
  choose from.
- Requires VisuMZ_1_SkillsStatesCore!
- Can be opened while the Message Window is open.
- Skills will not be listed if they are hidden by the actor.
- Skills will not be listed if the actor lacks access to their Skill Type.

  Variable ID:
  - This variable will be used to record the ID of the selected skill.
  - It will result in 0 otherwise.

  Actor ID:
  - Select an actor to get the skill list from.
  - Use 0 to select from the party leader.

  Skill Type ID:
  - Reduce all the skills to a specific skill type.
  - Leave at 0 to not use filters.

---