Global Event Tracker

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

This script uniquely tracks events throughout the game. It introduces the
concept of an Event Unique Identifier, or simply an event’s uid.

The uid is composed of two pieces of information

-the event’s ID
-the map the event was initially created

The information is stored in an array and then hashed, forming the uid
for the event. The uid is stored with the Game_Event and assumes there is a
one-to-one correspondence between a Game_Event and its contained RPG::Event.

All events are then stored in a global hash which you can look up if you
need to.

Note that any scripts that duplicate events without properly assigning new
event ID’s may not be compatible with this script.

Download

Script: download here

Installation

Place this script below Materials and above Main

Usage

This is a utility script for developers.

All references to events are stored in

$game_events

You can access an event via

$game_events[uid]

Where the uid is as described above.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

2 Responses

  1. Nirwanda says:

    This seems to be missing from dropfile:
    Nothing Here
    The file you’re looking for has been deleted or moved.

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax