Event Touch Trigger

Event Touch Trigger
Event touching event triggers.

Version 2.1

[[[Download Plugin EventTouch.js]]]
Save to your project js/plugins folder.

Adds additional event-touch-event triggers for event pages.

Activate by adding an event comment to an event page with the JSON Name (default "Event Touch").
Each new line after the JSON Name is an individual trigger.

An example valid event comment:
Event Touch
{ "source" : 1, "call" : { "common event" : 1 } }
{ "source" : 2, "call" : { "common event" : 2, "target this" : false } }

A single JSON entry must NOT be defined across multiple lines.

The JSON key names can be redefined as part of the Plugin Parameters.

Change log:
  • Version 2.1:
    • Added compatibility support for OrangeCustomEvents.
  • Version 2.0:
    • Rewrite - API is completely changed.
    • Added common event support.
  • Version 1.1:
    • Added "Turn Toward" boolean parameter.
  • Version 1.0:
    • Initial version.

Example
Take notice of the event names, event notes and the JSON!!
Event ID:001 Spoiler
Image

Event ID:002 Spoiler
Image
Image

Event ID:003 Spoiler
Image
Thank you for making this plugin! I have been unable to find one like it so far! xD Is this free to use in both noncommerical and commerical?
moo :D wrote:
Thank you for making this plugin! I have been unable to find one like it so far! xD Is this free to use in both noncommerical and commerical?

Free to use in both non-commercial and commercial.
Thank you so much Xilef! This is a life saver! There is an incompatibility with another plugin I'm using but I'm hoping a friend can sort it out for me soon, thank you again! I look forward to making you proud!
Plugin updated to 2.1 with support for OrangeCustomEvents, a plugin that allows you to copy events. The touch event data will instantiated if the _eventData value is detection on initialisation (Something OrangeCustomEvents does).

So mixed with OrangeCustomEvents, you could easily do things like shooting bullets.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=79014