SetEventHandlerName Data Member Function

Sets the name of the script function that executes the event handling job.

Prototype

int32 SetEventHandlerName( int32 p_nScriptIndex, int32 p_nEventIndex, string p_sFunction )

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 function name you wish to modify.
stringp_sFunctionThe name of the function that performs the event handling job.

Examples

Copy Text To Clipboard

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