GetActorEffectType

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the type of an actor effect form. Return values are as follows:
-1 - Invalid type
0 - Actor Effect
1 - Disease
2 - Power (unused)
3 - Lesser Power (unused)
4 - Ability
5 - Poison
10 - Addiction

Syntax

[help]
(int) GetActorEffectType actorEffect:form

Example

set iType to GetActorEffectType rEffect