Difference between revisions of "LogStoryEvent"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(Adding a bit of documentation. Since this function is of little use to end users, though, this is primarily for the benefit of fellow BioWarians who may run afoul of the same frustration I did. :))
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=LogStoryEvent
 
|name=LogStoryEvent
Line 12: Line 11:
 
}}
 
}}
  
<!-- == 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. -->
  
<!-- == Remarks == -->
+
LogStoryEvent sends its parameter to EA's servers to indicate that a particular event in the character's story has occurred. Since the meaning of each event ID needs to be set up server-side, this is likely of little to no practical use for end user modders.
 +
 
 +
== Remarks ==
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
 +
 +
Story events are queued up and are only sent to the server when the player saves the game.
  
 
<!-- == Examples == -->
 
<!-- == Examples == -->

Latest revision as of 00:57, 19 February 2010

Logs an event for the hero's "Story So Far" in the save game.

void LogStoryEvent(
int nEventID
);
Parameters:
nEventID
The ID of the Event being logged
Returns:

Nothing.

Source:

script.ldf

Description

LogStoryEvent sends its parameter to EA's servers to indicate that a particular event in the character's story has occurred. Since the meaning of each event ID needs to be set up server-side, this is likely of little to no practical use for end user modders.

Remarks

Story events are queued up and are only sent to the server when the player saves the game.