KEventual XP

KEventual XP

by Kyonides
​

Introduction

This scriptlet of mine allows you to copy local or external events to the current map. It is quite easy to use.
By the way, you can also delete them or restore them at will! 😮

And the best thing of all is that your new set of events will be right there waiting for you next them you enter that map! 😀 Without call the same setup event over and over again! 😀

Script Calls

Note:
You can use @event_x or @event_y for the current event's XY coordinates.

Add a copy of an Event present on the Current Map:
Ruby:
copy_event(OtherMapID, EventID, NewEventID, NewX, NewY)

Add a copy of an Event available on a Different Map:
Ruby:
add_event(OtherMapID, EventID, NewEventID, NewX, NewY)

Delete any Event present on the Current Map - permanently if true.
Ruby:
delete_event(EventID)
delete_event(EventID, true)

Restore any Event that was once present on the Current Map:
Ruby:
restore_event(EventID)

Secondary Features

Just some innocent error messages, that's all! 😛

Spoiler: Screenshots
keventual_xp01.jpg

keventual_xp02.PNG


Terms & Conditions

Free for use in ANY game. 😀
Due credit is mandatory.
Mention this forum in your game credits.
That's it! 😛
Script Update​

Some condition in the copy_event method was not ensuring only a DB event or an event ID would be used to find the target event. This was causing some issues on add_event from another map script calls, but this has been fixed in version 1.0.0!

As a bonus, the delete_event script call now accepts a second parameter, namely a boolean value (true or false). It will decide if the event or copy event will disappear from your game world... forever! 😮

Original thread: https://forums.rpgmakerweb.com/threads/keventual-xp.167049/