Save-Point
KEventual VX + ACE - 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 VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: KEventual VX + ACE (/thread-11458.html)



KEventual VX + ACE - kyonides - 01-02-2025

KEventual VX + ACE

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! Shocked

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! Grinning Without call the same setup event over and over again! Two Thumbs Up!

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:
Code:
copy_event(OtherMapID, EventID, NewEventID, NewX, NewY)

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

Delete any Event present on the Current Map:
If the second parameter is true, it will disappear forever! Shocked
Code:
delete_event(EventID)
delete_event(EventID, true)

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

Secondary Features

Just some innocent error messages, that's all! Tongue sticking out

Screenshots


Terms & Conditions

Free for use in ANY Gamer game.
Due credit is mandatory. Serious 
Mention this forum in your game credits.
That's it! Tongue sticking out


RE: KEventual VX + ACE - kyonides - 12-02-2025

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! Shocked