Adds an event and function handler to this object.
int32 AddEvent( string p_sEvent, string p_sEventHandlerFunc )
Parameter Type | Parameter Name | Documentation |
---|---|---|
string | p_sEvent | A string containing a registered event type such as SPA.OnNotify. |
string | p_sEventHandlerFunc | A string containing the name of the script language function to execute as the event handler. |
None published. Please look for an example in the Scenome Scripting Language code base.