Save-Point
Advanced Game over to inn - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Archives (https://www.save-point.org/forum-105.html)
+--- Forum: Creation Asylum Archives (https://www.save-point.org/forum-90.html)
+---- Forum: Scripts & Code Snippets (https://www.save-point.org/forum-92.html)
+----- Forum: RPG Maker XP Code (https://www.save-point.org/forum-93.html)
+------ Forum: Enhancement/Modification Scripts (https://www.save-point.org/forum-98.html)
+------ Thread: Advanced Game over to inn (/thread-6541.html)



Advanced Game over to inn - Slanter - 03-23-2007

Advanced Game over to inn

Slanter
Mar 23 2007

This is a locked, single-post thread from Creation Asylum.  Archived here to prevent its loss.
No support is given.  If you are the owner of the thread, please contact administration.


This is a pretty simple script that just makes you go to a certain location when you die, instead of going to the title screen. Currently, you can configure the following, in addition to location (map id, x, y, direction):
• SP multiplier (0.5 = 50% of total - if you go > 1, it will become a percent)
• HP multiplier (0.5 = 50% of total - if you go > 1, it will become a percent)
• Gold lost (use a positive number, negatives will add on)

Game Over to Inn


To change the "inn" location, you can use the following in an event:
Code:
$gameover_to_inn.set(map_id, map_x, map_y, gold_sub, hp_pct, sp_pct, direction)
or one of the individual commands


Individual Commands


directions are as follows:
2 = Down
4 = Left,
6 = Right
8 = Up



.zip   Demo.zip (Size: 203.01 KB / Downloads: 0)