SendModEvent

From the CreationKit Wiki
Revision as of 09:18, 3 July 2013 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Sends custom event with given generic parameters.

Syntax

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

Parameters

  • 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

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

Notes

See Also