GetEffectCount

Category: Effects
Since engine version: 1.0 OC

Description

Counts object effects or global effects.

Syntax

int GetEffectCount(string mask, object target, int max_priority);

Parameters

mask:
[opt] Search mask for effect names. You can use '*' or '?' wildcards or specify an effect name directly. If unspecified, all effects are counted.
target:
[opt] Target object the effects of which you want to count. If unspecified, the global effects will be counted.
max_priority:
[opt] If not 0, only those effects are counted which have the specified priority or lower.

Remark

For an example see GetEffect.
See also: CheckEffect, CreateEffect, EffectCall, Effects Documentation, GetEffect, RemoveEffect
Sven2, 2004-03