Difference between revisions of "EVENT TYPE CHARGEN SELECT SOUNDSET"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
Line 2: Line 2:
 
{{event
 
{{event
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
|when=
+
|when= This fires whenever the player selects a soundset for the main hero
 
|from=
 
|from=
 
|to=
 
|to=
 +
|string0name=sSoundset
 +
|string0desc=the conversation file used with the setsoundet command
 
}}
 
}}
  
 
[[Category:Event types|CHARGEN_SELECT_SOUNDSET]]
 
[[Category:Event types|CHARGEN_SELECT_SOUNDSET]]
 
[[Category:Character generation]]
 
[[Category:Character generation]]

Revision as of 21:35, 19 August 2009

The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.

Source:
script.ldf
Sent when:
This fires whenever the player selects a soundset for the main hero
Sent from:
Sent to:
Parameters:
  • String 0: the conversation file used with the setsoundet command

Usage

case EVENT_TYPE_CHARGEN_SELECT_SOUNDSET:
{
string sSoundset = GetEventString(ev, 0); // the conversation file used with the setsoundet command

// insert event-handling code here

break;
}