AddEventHandler Data Member Function

Adds an event handler to an existing script event handler entry.


int32 AddEventHandler( int32 index, string name, string function, uint32 flags )


Parameter Type Parameter Name Documentation
int32indexThe index of the script entry to which you wish to add an event.
stringnameA string containing the name of the event.
stringfunctionA string containing the name of the script language function to execute as the event handler.
uint32flagsSets the event direction flag such as Enum.NED_SendReceive(). This refers to the SPA_eNodeEventDirection enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.


Copy Text To Clipboard

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