API RegisterEvent

From Vendetta Lua
Revision as of 05:56, 17 February 2009 by Chefkoch (talk | contribs)
Jump to navigationJump to search

RegisterEvent

Definition: RegisterEvent(object eventhandler, string eventtype) -> nil
Description:
Hook up object to event. The object is a function or a table with a method called OnEvent or the name of the event. See Event Intro
Arguments:
eventhandler object to register with event
eventtype eventtype
Example:
see Event Intro