HandleEvent

From Dragon Age Toolset Wiki
Revision as of 18:18, 9 November 2009 by BryanDerksen (Talk | contribs) (remove generatedwithjoins)

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.


See also

GetCurrentEvent