Background for Skyrim SE
Member of the ActiveMagicEffect script
voidfunctionRegisterForModEvent(stringeventName, stringcallbackName)Native

Description

Documentation Comment

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


Caveats


Parameters

stringeventName

stringcallbackName


Examples

Auto-Generated Example

string myString__eventName
string myString__callbackName

myActiveMagicEffect__toCallFunctionOn.RegisterForModEvent(myString__eventName, myString__callbackName)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.