SetEventHandlerEvent Data Member Function

Sets the event handler registered event name at the specified script index and at the specified event index. Must be a registered event type such as SPA.OnNotify.

Prototype

int32 SetEventHandlerEvent( int32 p_nScriptIndex, int32 p_nEventIndex, string p_sName )

Parameters

Parameter Type Parameter Name Documentation
int32p_nScriptIndexThe index of the top level event handling script containing the specific event you wish to modify.
int32p_nEventIndexThe index of the event whose event name you wish to modify.
stringp_sNameA registered event name such as SPA.OnNotify.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.