GetBaseEffectArchetype

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the Archetype code for the specified Base Effect. Archetype codes are as follows:

0: Value Modifier
1: Script
2: Dispel
3: Cure Disease
11: Invisibility
12: Chameleon
13: Light
16: Lock
17: Open
18: Bound Item
19: Summon Creature
24: Paralysis
30: Cure Paralysis
31: Cure Addiction
32: Cure Poison
33: Concussion
34: Value and Parts
35: Limb Condition
36: Turbo

Syntax

[help]
(code:int) GetBaseEffectArchetype baseEffect:ref

Example

set iCode to GetBaseEffectArchetype CateyeBaseEffect // returns 1 

See Also