Difference between revisions of "SendModEvent"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Templar-von-Midgard
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ActiveMagicEffect Script, Alias Script and Form Script Sends custom event with...")
 
imported>Egocarib
 
Line 26: Line 26:


== See Also ==
== See Also ==
*[[ModEvent Script]]
*[[RegisterForModEvent_-_Form|RegisterForModEvent]]
*[[Form Script]]
*[[Alias Script]]
*[[ActiveMagicEffect Script]]
*[[ActiveMagicEffect Script]]
*[[Alias Script]]
*[[Form Script]]
*[[RegisterForModEvent_-_Form]]

Latest revision as of 09:27, 29 April 2014

SKSE Member of: ActiveMagicEffect Script, Alias Script and Form Script

Sends custom event with given generic parameters.

Syntax[edit | edit source]

Function SendModEvent(string eventName, string strArg = "", float numArg = 0.0) native

Parameters[edit | edit source]

  • 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.

Examples[edit | edit source]

;Send the an event called "HectorHitMe" with no other parameters
SendModEvent("HectorHitMe")

Notes[edit | edit source]

See Also[edit | edit source]