Save-Point
Left Behind XP - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Left Behind XP (/thread-4378.html)



Left Behind XP - kyonides - 10-01-2012

Left Behind XP

Version: 0.3.0

by Kyonides (Kyonides-Arkanthos)



Introduction


This script lets you drop off any of your actors or all of them but one at any time by just including a very simple script call. It creates new events if needed or just add commands to an existing event depending on which map you should find the actor(s) you dropped off a while ago. The map coordinates might be manually, automatically or semi-automatically setup.



Demo


No demo needed, just paste the contents of the RB file in any section below Scene_Debug and above Main and don´t for get to include all the graphics included in the RAR file.

The demo is in Spanish only. I gotta see if I ever translate it to any other language since the script is quite easy to use.


DOWNLOAD Script & Demo



Instructions


Script Calls:


remove_actor(hero_ID, optional_parameters_1_or_3)

remove_actor_by_pos(hero_party_index, optional_parameters_1_or_3)

remove_actors(remaining_hero_ID, optional_parameters_1_or_3)

remove_actors_by_pos(remaining_hero_party_index, optional_parameters_1_or_3)




Examples:

Let's say you want to just specify who is the actor that gets dropped off and the map where he or she will show up again.

remove_actor(1, 4) # Arshes goes to map # 4


If you prefer to setup the coordinates right there, then do the following...

remove_actor(1, 4, 10, 14) # Arshes goes to map # 4, X coord - 10, Y coord - 14


If the hero will remain on the same map, there is no need to define the x and y coordinates unless you feel like it.

* End of Examples Section *


Optional - If you want to predefine an event's final x and y coordinates, then you should set it up like this...


ACTORNEWXY = {map_ID => {new_event_ID => [x, y]}}.


Inside the module, right at the beginning of the script, you may find several Constants that you may edit at will. Here are some examples for English speakers.


JOINPARTY = ['¿Rejoin group?']
JOINOPTIONS = ['Yes','No']
JOINING = ['It's always a pleasure to work with you, guys!']
NOTJOINING = ['Shame on you...']
JOINED = ["%s rejoined the group.", "%s rejoined the group."]
OTHERACTORS = ' and the others'

JOINED is a special case. If you speak any language that has a different verb conjugation mechanism than English, i.e. Spanish, German, Portuguese, you'd need to setup to different responses for an event whenever a single actor or several actors rejoin the group. As you may already noticed in English there's no need for this kind of special configuration so both sentences should be exactly the same so the script doesn't behave in an unexpected manner and people won't start yelling at the game developer for not taking care of this kind of details.



Script


Just get the RB file, open the file with notepad or notepad++ and paste the contents you know where.


FAQ


Version 0.3.0 - Nothing worth to mention.



Compatibility

Designed for RPG Maker XP.



Terms and Conditions


Free for use but not meant for commercial projects. Due credit is not optional but a must.