NPC Random Dialogue
A downloadable asset pack
I will be creating a better version soon!
─────────────────────────────────────────────────────────
HOW TO USE (simplest)
─────────────────────────────────────────────────────────
In the NPC event, add a single **Script** command:
RandomSay(["Hello!", "Nice day, isn’t it?", "Be careful out there.",
"Stay safe!", "Have you heard the news?", "Monsters are nearby!",
"Good luck, traveler!", "Watch your step.", "The king is worried.",
"I like apples!", "The weather is changing...", "Stay hydrated!",
"Training makes you stronger.", "Don’t trust strangers.",
"The forest is dangerous."]);
That’s it. Every time the player talks to the NPC, one random line is shown.
─────────────────────────────────────────────────────────
OPTIONAL (set once, say later)
─────────────────────────────────────────────────────────
If you prefer to set the list once and reuse it:
Script: this.setRandomDialogue(["Hi", "Yo", "Sup"]); // set for this event
Script: this.sayRandomDialogue(); // say one randomly
You can call `this.sayRandomDialogue()` in later pages/conditions to reuse
the same pool of lines for the same event.
Notes:
- In Script commands, `this` refers to **Game_Interpreter**, not the event.
This plugin adds the methods on Game_Interpreter so `this.setRandomDialogue(...)`
Published | 3 days ago |
Status | Released |
Category | Assets |
Author | DRAGGONE STUDIO |
Genre | Role Playing |
Tags | 16-bit, plugin, RPG Maker, RPG Maker MZ |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.