Troop <name> emerges fix

mykrme

Villager
Member
Joined
Jan 4, 2017
Messages
8
Reaction score
16
Primarily Uses
Plugin name: TroopEmergeMsg
Creator name: mykrme



Introduction
Slightly incorrect short description:


This changes the message when a troop emerges from "Bat emerges!" (using enemy name) to "Cloud of Bats emerges!" (using troop name).


Longer and much more correct description:


The user can specify the message on "troop emerges" event in the Terms settings of a project. You can either use a simple fixed message, or you can use a message with the %1 placeholder. The placeholder is then at a battle start replaced by an enemy name. In theory, you should get one substituted message for each enemy in the troop. In reality, you get one substituted message for each unique enemy name. If your troop consists of several Bat enemies only, you get just one message, saying "Bat emerges!". This is of course annoyingly incorrect.


With this plugin, the %1 placeholder will be instead replaced by the troop name. So, for a troop called "Cloud of Bats" containing 5 Bats, you will see a message like "Cloud of Bats emerges!"


If you edit the Terms to instead use e.g. "Oh my! %1 is here! Run, run for the hills!" for the "troop emerges" event, you will see "Oh my! Cloud of Bats is here! Run, run for the hills!"

How to Use
All you need to do is enable the plugin.



Terms of Use


- free for use in both non-commercial or commercial projects,


- any modifications and re-posts allowed,


- crediting welcome but not required

Sources


All available on github, @troop_emerge_msg.


Plugin direct link: TroopEmergesMessage.js


Demo zip archive direct link: TroopEmergeMsgDemo.zip
Credit- mykrme
 

WolfTJD

Villager
Member
Joined
Jul 12, 2014
Messages
12
Reaction score
3
First Language
English
Primarily Uses
RMMV
Thanks for a GREAT plugin!!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

--Turn Based Battles--

Hero:
Look, it is Minotaur!
M. Knight: Let's go attack it!
Hero: Wait, no, it is just standing there!!
HUD Display: It is M. Knight's turn.
(M. Knight attacks Minotaur)
HUD Display: It is Minotaur's turn.
Hero: (Facepalms) Now look what you did! You made the Minotaur attack us!
Randomly deciding to create some tombs/sarcophagi last minute is probably not the best choice in a timed game jam...
There are only a few days left in our Spooktober Spooktacular Game Jam! Hope you are working hard to get your game in!
Where do i have to play Heisei Pistol Show the same creator that made Re: Kinder Parun
I really get the feeling I should be doing regular YouTube videos whenever I make something cool in my game, instead of waiting for massive changes. But not going to lie... I always feel like it's never quite enough to merit an update, until it's a drastic change. :kaoswt:

Forum statistics

Threads
104,558
Messages
1,007,132
Members
136,040
Latest member
Nicoh
Top