Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> [SSS] Death Common Events, Make common events run when actors, classes, or enemies die.
Shanghai
post Jun 16 2010, 06:48 AM
Post #1


Level 31
Group Icon

Group: Revolutionary
Posts: 747
Type: Developer
RM Skill: Skilled




Shanghai Simple Script - Death Common Events
made by Shanghai



Link/Script
Click here

Introduction
This script causes certain actors and enemies to trigger common events when they die in battle. Although this could be evented, there's a lot of messy condition work involved with battle event pages, which is why I created this script.

How to Use
To tell the game what common events to run when actors or classes die, change these settings in the module.

CODE
  ACTOR_DEATH_EVENTS ={
  # Actor => Common Event ID
        1 => 15,
        2 => 16,
        3 => 17,
        4 => 18,
  } # Remove this and perish.

  CLASS_DEATH_EVENTS ={
  # Class => Common Event ID
        1 => 19,
        2 => 20,
        3 => 21,
        4 => 22,
  } # Remove this and perish.


To tell the game what common events to run when enemies die, put this notetag inside of the enemy's notebox:

CODE
<death event: x>


This is for enemies. Makes common event x run when the enemy dies.

Compatibility
- Compatible with Battle Engine Melody

For more Shanghai Simple Scripts
Visit Here.


__________________________
Go to the top of the page
 
+Quote Post
   

Posts in this topic


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: 17th June 2013 - 10:18 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker