Difference between revisions of "Engine ApplyEffectAtLocation"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(fix some issues)
(Generated by Sunjammer's Dragon Age Script Paser)
Line 1: Line 1:
 +
{{Generated with errors}}
 
{{dafunction
 
{{dafunction
 
|name=Engine_ApplyEffectAtLocation
 
|name=Engine_ApplyEffectAtLocation
Line 4: Line 5:
 
|param1type=int
 
|param1type=int
 
|param1name=nDurationType
 
|param1name=nDurationType
|param1desc=can be [[EFFECT_DURATION_TYPE_PERMANENT]], [[EFFECT_DURATION_TYPE_INSTANTANEOUS]] or [[EFFECT_DURATION_TYPE_TEMPORARY]]
+
|param1desc=can be EFFECT_DURATION_TYPE_PERMANENT EFFECT_DURATION_TYPE_INSTANTANEOUS or EFFECT_DURATION_TYPE_TEMPORARY
 
|param2type=effect
 
|param2type=effect
 
|param2name=eEffect
 
|param2name=eEffect
Line 10: Line 11:
 
|param3type=location
 
|param3type=location
 
|param3name=lLocation
 
|param3name=lLocation
|param3desc=the location at which the effect is applied
+
|param3desc=
 
|param4type=float
 
|param4type=float
 
|param4name=fDuration
 
|param4name=fDuration
Line 28: Line 29:
 
== 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. -->
Applies eEffect to lLocation.  If nDurationType is EFFECT_DURATION_TYPE_TEMPORARY, then fDuration is the duration of the effect.  
+
Applies eEffect to vLocation.  If nDurationType is EFFECT_DURATION_TYPE_TEMPORARY, then fDuration is the duration of the effect.  
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->
Line 39: Line 40:
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
  
[[Category:Effect Access Functions]]
+
[[Category: Effect access functions]]

Revision as of 02:40, 29 July 2009

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

This function applies an effect at a location.

void Engine_ApplyEffectAtLocation(
int nDurationType,
effect eEffect,
location lLocation,
float fDuration,
object oCreator,
int nAbilityId
);
Parameters:
nDurationType
can be EFFECT_DURATION_TYPE_PERMANENT EFFECT_DURATION_TYPE_INSTANTANEOUS or EFFECT_DURATION_TYPE_TEMPORARY
eEffect
the effect to be applied
lLocation
[Undocumented]
fDuration
this value needs to be set only when nDurationType is EFFECT_DURATION_TYPE_TEMPORARY
oCreator
effect creator
nAbilityId
ability id
Returns:

Nothing.

Source:

script.ldf

Description

Applies eEffect to vLocation. If nDurationType is EFFECT_DURATION_TYPE_TEMPORARY, then fDuration is the duration of the effect.