GetCreatureType
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Contents
Description
Returns the Creature Type ID of a Creature form or a reference.
- Returns -1 when called on a NPC.
Syntax
(creatureType:int) reference.GetCreatureType creatureBase:form
Index | Type | Description |
---|---|---|
0 | Animal | Dog, Vicious Dog |
1 | Mutated Animal | Brahmin, Mirelurk, Mirelurk King, Molerat, Yao Guai |
2 | Mutated Insect | Bloatfly, Giant Ant, Queen Ant, Radroach, Radscorpion, Fire ant, Fire ant soldier, Giant Radscorpion |
3 | Abomination | Centaurs, Deathclaw, Failed FEV Subjects, Spore Carriers, etc. |
4 | Supermutant | Supermutant, Supermutant Brute, Supermutant Chief, Supermutant Behemoth |
5 | Feral Ghoul | Feral Ghouls, Glowing One |
6 | Robot | Eyebot, Turrets, Mister Gutsy, Protectron, Robobrain, Sentrybot |
7 | Giant |
Example
set iCreatureType to rActorRef.GetCreatureType
set iCreatureType to GetCreatureType CrCentaurEvolved