pagpatay.an: r.i.p. events



about the plug-in


"patay" means dead in the tagalog language.

pagpatay.an does just that- it 'kills' events dynamically and makes sure they stay dead.

for use with methods that generate new events through code during gameplay, and other neat applications.

​
download

killEvents.js [Google Drive, 10 KB]​


usage
pagpatay.an.killEvent(event_id);

replace event_id with the id of the event you want to delete.

Code:
pagpatay.an.killEvent(1);

killed events remain dead and their murders are remembered in save files.

for multiple events, use:
pagpatay.an.massacreEvents(event_id1, event_id2, etc.);

Code:
pagpatay.an.massacreEvents(1,10,3,4); // kills events 1,10,3,4;
pagpatay.an.massacreEvents("1:5"); // kills events 1,2,3,4,5.
pagpatay.an.massacreEvents(2,"7:11",1,4); // kills events 2,7,8,9,10,11,1,4.


atbp.

pagpatay.an is written by dismal_science__.

pagpatay.an is free for use in both commercial and non-commercial projects, as long as the author is credited accordingly.
pagpatay.an by dismal_science__ (https://ameblo.jp/dismal-science/)

for updates please check out-
https://ameblo.jp/dismal-science/entry-12464602602.html​

Original thread: https://forums.rpgmakerweb.com/threads/pagpatay-an-r-i-p-events.109523/