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:
[opt]
Search mask for effect names. You can use '*' or '?' wildcards or specify an effect name directly. If 0, all effects are counted.
- pTarget:
[opt]
Target object the effects of which you want to count. If 0, the global effects will be counted.
- iMaxPriority:
[opt]
If not 0, only those effects are counted which have the specified priority or lower.
Remark
For an example see
GetEffect.
Sven2, März 2004