Difference between revisions of "SetEventScript"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) m (looks okay, removing tag) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=SetEventScript | |name=SetEventScript | ||
Line 17: | Line 16: | ||
== Description == | == Description == | ||
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
− | Sets the default script for handling events. This is the | + | 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(). |
− | 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(). | + | |
<!-- == Remarks == --> | <!-- == Remarks == --> |
Latest revision as of 19:09, 16 February 2010
Sets the default script for handling events.
- 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().