Difference between revisions of "HandleEvent"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(remove generatedwithjoins)
m (Remarks: addded maximum based on comments by Georg Zoeller)
Line 20: Line 20:
 
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.
 
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 == -->
+
== Remarks ==
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
 +
The maximum level of event rerouteing is 8.
  
 
<!-- == Examples == -->
 
<!-- == Examples == -->

Revision as of 01:44, 6 December 2009

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