Difference between revisions of "GetCurrentEffect"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
m (Correcting category) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetCurrentEffect | |name=GetCurrentEffect | ||
Line 8: | Line 7: | ||
|sourcemodule= | |sourcemodule= | ||
}} | }} | ||
− | |||
== 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. --> | ||
− | Gets the effect associated with the current event. | + | Gets the effect associated with the current event. This command should only be used in scripts handling effect applied/removed events. |
− | This command should only be used in scripts handling effect applied/removed events. | + | |
− | + | ||
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
− | |||
<!-- == 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. --> | ||
− | [[Category: Effect | + | [[Category:Effect functions]] |
Latest revision as of 19:46, 10 March 2012
Gets the effect associated with the current event
effect GetCurrentEffect(
);
);
- Parameters:
- None
- Returns:
- an effect
- Source:
- script.ldf
Description
Gets the effect associated with the current event. This command should only be used in scripts handling effect applied/removed events.