DURATION_TYPE_* Constant Group

Duration types for ApplyEffectAtLocation and ApplyEffectToObject functions.



Constants

ConstantValueDescription
DURATION_TYPE_INSTANT0
Instantaneous. This would apply to any effect that is both immediate and permanent and cannot be removed. EffectDamage would be one example, as well as any of the 'fire-and-forget' visual effects.
DURATION_TYPE_PERMANENT2
Permanent duration. This is as it sounds... the effect lasts until removed or dispelled
DURATION_TYPE_TEMPORARY1
A temporary duration means that the effect must have a duration specified in the command (and is the only time this is so). Once the time has expired, the effect will be removed.

See Also

functions: AddItemProperty | ApplyEffectAtLocation | ApplyEffectToObject | GetEffectDurationType | IPGetItemHasProperty | IPRemoveAllItemProperties | IPRemoveMatchingItemProperties