Difference between revisions of "Engine ApplyEffectAtLocation"
From Dragon Age Toolset Wiki
m |
m |
||
Line 21: | Line 21: | ||
|param5name = oCreator | |param5name = oCreator | ||
|param5desc = effect creator | |param5desc = effect creator | ||
− | |param5default = OBJECT_SELF keyword|OBJECT_SELF | + | |param5default = [[OBJECT_SELF keyword|OBJECT_SELF]] |
|param6type = int | |param6type = int | ||
|param6name = nAbilityId | |param6name = nAbilityId |
Revision as of 20:35, 3 August 2011
This function applies an effect at a location.
void Engine_ApplyEffectAtLocation(
int nDurationType,
effect eEffect,
location lLocation,
float fDuration = 0.0,
object oCreator = OBJECT_SELF,
int nAbilityId = 0
);
int nDurationType,
effect eEffect,
location lLocation,
float fDuration = 0.0,
object oCreator = OBJECT_SELF,
int nAbilityId = 0
);
- Parameters:
- nDurationType
- EFFECT_DURATION_TYPE_PERMANENT, EFFECT_DURATION_TYPE_INSTANT or EFFECT_DURATION_TYPE_TEMPORARY
- eEffect
- the effect to be applied
- lLocation
- the location at which the effect is applied
- fDuration
- the duration in seconds (only required when nDurationType is EFFECT_DURATION_TYPE_TEMPORARY)
- oCreator
- effect creator
- nAbilityId
- ability id
- Returns:
- Nothing.
- Source:
- script.ldf
Description
Applies eEffect at lLocation. If nDurationType is EFFECT_DURATION_TYPE_TEMPORARY, then fDuration is the duration of the effect.