DURATION_TYPE_* Constant Group

From NWN Lexicon
Jump to: navigation, search

Duration types for ApplyEffectAtLocation() and ApplyEffectToObject() functions.


Constant Value Description
DURATION_TYPE_INSTANT 0 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_PERMANENT 2 Permanent duration. This is as it sounds... the effect lasts until removed or dispelled
DURATION_TYPE_TEMPORARY 1 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:  IPRemoveMatchingItemProperties