Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Enemy Reinforcements
Tsukihime
post Jul 18 2012, 08:59 PM
Post #1


Level 25
Group Icon

Group: Revolutionary
Posts: 560
Type: None
RM Skill: Undisclosed
Rev Points: 25




Enemy Reinforcements
-Tsukihime



Overview

This script allows you to add enemy reinforcements by adding members from a particular troop into the current battle.

This allows you to set-up their position and appearance in the editor so that you can accurately indicate where reinforcements should appear.

Single enemies or entire troops may be added to the battle.
An entire troop may also disappear from the battle.

Usage

There are two ways to add new enemies
-add one enemy
-add an entire troop

To add a new enemy to the battle, use the script call

CODE
add_enemy(troop_id, index)


where the troop_id is the ID of the troop that the enemy is in, and
the index is the order that they were added in the editor.

You may need to test it a few times to get the right index

To add an entire troop, use the script call

CODE
add_troop(troop_id)


And the entire troop will be copied over.

It is also possible to remove an entire troop from battle.
All members of that troop will disappear when this script is called

CODE
remove_troop(troop_id)


Example

Here is my troop 1, with one slime.
It has event that will add one enemy from troop 2, located at index 1.



This is troop 2, with two bats. It's not obvious which one is index 1



But it seems like the one on the top-left is index 1. So then the other one is index 0 (because there are only two of them)



Download

Script: http://db.tt/uEDvsvWe


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   
amerk
post Aug 9 2012, 10:31 AM
Post #2


Level 56
Group Icon

Group: Global Mod
Posts: 1,784
Type: None
RM Skill: Undisclosed
Rev Points: 15




Very good looking script, and a lot easier to implement than tedious events. With careful design, you might even be able to make it look as if a particular monster is transforming into something else entirely.


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 10:47 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker