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.
int32 SetEventHandlerEvent( int32 p_nScriptIndex, int32 p_nEventIndex, string p_sName )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nScriptIndex | The index of the top level event handling script containing the specific event you wish to modify. |
int32 | p_nEventIndex | The index of the event whose event name you wish to modify. |
string | p_sName | A registered event name such as SPA.OnNotify. |
None published. Please look for an example in the Scenome Scripting Language code base.