GetEffectCount
Category: Effects
Since engine version: 4.9.5.0 CE
Description
Counts object effects or global effects.
Syntax
int GetEffectCount
(string szMask, object pTarget, int iMaxPriority);
Parameters
- szMask:
-
[optional] Search mask for effect names. You can use '*' or '?' wildcards or specify an effect name directly. If 0, all effects are counted.
- pTarget:
-
[optional] Target object the effects of which you want to count. If 0, the global effects will be counted.
- iMaxPriority:
-
[optional] If not 0, only those effects are counted which have the specified priority or lower.
Remark
For an example see
GetEffect.
Sven2, March 2004