SendModEvent
Revision as of 09:27, 29 April 2014 by imported>Egocarib (→See Also)
SKSE Member of: ActiveMagicEffect Script, Alias Script and Form Script
Sends custom event with given generic parameters.
SyntaxEdit
Function SendModEvent(string eventName, string strArg = "", float numArg = 0.0) native
ParametersEdit
- eventName: The unique identifier of the ModEvent.
- strArg: A string which can be passed to the ModEvent callback.
- numArg: A float which can be passed to the ModEvent callback.
ExamplesEdit
;Send the an event called "HectorHitMe" with no other parameters
SendModEvent("HectorHitMe")
NotesEdit
- The ModEvents must be registered for using the RegisterForModEvent_-_Form