HandleEvent

From Dragon Age Toolset Wiki
Jump to: navigation, search

Handles the event.

void HandleEvent(
event evEvent,
resource rScriptName = R""
);
Parameters:
evEvent
The event to handle
rScriptName
The script that will handle the event (*.ncs). If no script is specified then the object's default script will be run
Returns:

Nothing.

Source:

script.ldf

Description

Handles the specified event by passing it to the specified script for processing. You can access the event in the script by calling GetCurrentEvent() and doing all of your processing there. This function is executed inline.

Remarks

The maximum level of event rerouteing is 8.


See also

GetCurrentEvent