Difference between revisions of "EVENT TYPE LOAD TACTICS PRESET"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating template)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|when=
+
|sourcemodule =
|from=
+
|sortkey      = LOAD_TACTICS_PRESET
|to=player
+
|when         =  
|int0name=nPresetID
+
|from         =  
|int0desc
+
|to           = player
 +
|tocategory1  =
 +
|tocategory2  =
 +
|int0name     = nPresetID
 +
|int0desc     = {{undocumented}}
 +
|object0name  = oCreator
 +
|object0desc  = {{undocumented}}
 +
|creatorname  = oOwner
 
}}
 
}}
  
[[player_core]] currently just uses a naive method to populate tactics with valid skills.
+
== Remarks ==
  
[[Category:Event types|LOAD_TACTICS_PRESET]]
+
The [[player_core]] script currently just uses a naive method to populate tactics with valid skills.

Latest revision as of 19:11, 21 August 2011

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:
Sent from:
Sent to:
player
Parameters:

Usage

case EVENT_TYPE_LOAD_TACTICS_PRESET:
{
object oOwner = GetEventCreator(ev); //
int nPresetID = GetEventInteger(ev, 0); // [Undocumented]
object oCreator = GetEventObject(ev, 0); // [Undocumented]

// insert event-handling code here

break;
}

Remarks

The player_core script currently just uses a naive method to populate tactics with valid skills.