Troop <name> emerges fix

mykrme

Villager
Member
Joined
Jan 4, 2017
Messages
8
Reaction score
15
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

40 card deck size, the plugin seems more sluggish.
Village theme I composed for a commission!
Stream will be live shortly with some Haunting Ground! Feel free to drop by!
welp, the stock market went down by 7% because of corona today. Time to buy stocks?

Forum statistics

Threads
94,563
Messages
921,921
Members
124,429
Latest member
sheepman
Top