Difference between revisions of "ModEvent Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
(Created ModEvent Script 'Stub')
 
imported>CraftySentinel
m (Missing Categories zzzz)
Line 34: Line 34:
:'''[[PushForm - ModEvent|PushForm]](Int ''handle'', Form ''value'')'''
:'''[[PushForm - ModEvent|PushForm]](Int ''handle'', Form ''value'')'''
:*Pushes a Form param into the event.
:*Pushes a Form param into the event.
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:SKSE]]
[[Category:SKSE Script Objects]]

Revision as of 04:41, 3 February 2014


Script for ModEvents.

Definition

ScriptName ModEvent Hidden


SKSE Global Functions

Int Create(String eventName)
  • Creates a new ModEvent and returns the handle.
Bool Send(Int handle)
  • Sends the ModEvent and releases it. (Return value indicates whether it was successfully sent).
Bool Release(Int handle)
  • Releases the ModEvent without sending it.
PushBool(Int handle, Bool value)
  • Pushes a Bool param into the event.
PushInt(Int handle, Int value)
  • Pushes a Int param into the event.
PushFloat(Int handle, Float value)
  • Pushes a Float param into the event
PushString(Int handle, String value)
  • Pushes a String param into the event.
PushForm(Int handle, Form value)
  • Pushes a Form param into the event.