Background for Skyrim SE

The ModEvent Script

    The ModEvent script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like Skyrim Script Extender x64 (SKSE).

    For this script, the Papyrus index knows about:

    • 8 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Properties

    No properties found.

      Events

        No events found.

      Functions

      • intfunctionCreate(stringeventName)NativeGlobal

        Creates a new ModEvent and returns the handle.

      • boolfunctionSend(inthandle)NativeGlobal

        Sends the ModEvent and releases it.
        Returns true, if it was sent successfully, false if an error happened.

      • voidfunctionRelease(inthandle)NativeGlobal

        Releases the ModEvent without sending it.

      • voidfunctionPushBool(inthandle, boolvalue)NativeGlobal

        Push single parameter.

        For arguments 1 .. N, the signature of the receiving event callback has to look like this:

        event MyCallback(TYPE_1 PARAM_1, ... , TYPE_N PARAM_N)

      • voidfunctionPushInt(inthandle, intvalue)NativeGlobal
      • voidfunctionPushFloat(inthandle, floatvalue)NativeGlobal
      • voidfunctionPushString(inthandle, stringvalue)NativeGlobal
      • voidfunctionPushForm(inthandle, Formvalue)NativeGlobal
      Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.