SetEventScript

From Dragon Age Toolset Wiki
Jump to: navigation, search

Sets the default script for handling events.

void SetEventScript(
object oObject,
resource rScriptName
);
Parameters:
oObject
The object to set the event script on
rScriptName
The name of the script to use for default event handling (*.ncs)
Returns:

Nothing.

Source:

script.ldf

Description

Sets the default script for handling events. This is the script that will be fire for all event types, specifically for engine level events. It should be noted that this can also be called on Player Characters - though to get players firing events properly, the specified events must first be enabled using EnablevEvent().


See also

EnablevEvent