Difference between revisions of "GetCurrentEvent"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (fix link, remove tag)
m (Formatting)
 
Line 16: Line 16:
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
 
Using this function outside of the event script might result in odd behaviour as the event returned might be invalid.
 
Using this function outside of the event script might result in odd behaviour as the event returned might be invalid.
 
+
<!--  
<!-- == Examples == -->
+
== Examples ==  
<!-- This section contains examples transcluded from the snippet library. -->
+
<!-- This section contains examples transcluded from the snippet library.
 
+
-->
 
== See also ==
 
== See also ==
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 
[[HandleEvent]]
 
[[HandleEvent]]
 
[[Category: Event functions]]
 
[[Category: Event functions]]

Latest revision as of 18:28, 18 November 2017

Gets the current event for the event script.

event GetCurrentEvent(
);
Parameters:
None
Returns:

Returns the current event.

Source:

script.ldf

Description

Gets the current event for the event script that was just fired. This function should only be used in the event script.

Remarks

Using this function outside of the event script might result in odd behaviour as the event returned might be invalid.

See also

HandleEvent