The RPG Maker Resource Kit

RMRK RPG Maker Creation => MV => MV Scripts Database => Topic started by: Glasses on January 12, 2016, 07:24:46 AM

Title: Simple Mercenaries
Post by: Glasses on January 12, 2016, 07:24:46 AM
Name: Simple Mercenaries
Version: 1.0
Author: Mr. Trivel
Created: 2015-11-27
 

What does it do?
Allows player to recruit mercenaries that last for X battles or until they die.
 

Screenshots:
Nothing to really show here.
 

How to use?
Give Mercenary Actors a tag in their note field:
<Mercenary: [J_CE], [L_CE], [LD_CE]>
[J_CE] - Common Event that plays when this mercenary joins. Perfect for a welcoming message.
[L_CE] - Common Event that plays when this mercenary leaves.
[LD_CE] - Common Event that plays when this mercenary leaves because of death.
Set Argument to 0 if you don't want Common Event there.
E.g.
<Mercenary: 1, 2, 3>
<Mercenary: 0, 2, 2>
 
-Plugin Commands:
Mercenary Add [ID] [BATTLES_COUNT] [LEAVES_ON_DEATH?]
Mercenary Remove [ID]
 
[ID] - Actor ID
[BATTLES_COUNT] - For how many battles it stays.
[LEAVES_ON_DEATH?] - Does mercenary leaves your party after it dies? (true/false)
 

Plugin: <Link: Github> (https://github.com/Trivel/RMMV/blob/master/MrTS_SimpleMercenaries.js)
How to download Script. Click the link above, there will be a button named Raw, press Right Click -> Save As.
 

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for non-commercial projects.
For commercial use contact Mr. Trivel.