Difference between revisions of "RegisterForModEvent - Form"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jbezorg
(Created page with "Registers a custom event callback for given event name. Registrations have to be refreshed after each game load. Examples: RegisterForModEvent("myCustomEvent", "MyModEventC...")
(No difference)

Revision as of 14:00, 1 July 2013

Registers a custom event callback for given event name. Registrations have to be refreshed after each game load.

Examples:

 RegisterForModEvent("myCustomEvent", "MyModEventCallback")

Event signature of custom event callbacks:

 Event MyModEventCallback(string eventName, string strArg, float numArg, Form sender)
 endEvent