GetObjectType

From the Oblivion ConstructionSet Wiki
Revision as of 15:51, 11 September 2007 by imported>WereWolf (Fixed categories)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

GetObjectType [ObjectID]

Returns the object type for the specified object id. Takes precedence over the reference version.

[ref.]GetObjectType

Called on a reference. Returns the type ID for the calling reference.

Type Codes Returned

0    None
1    TES4
2    Group
3    GMST
4    Global
5    Class
6    Faction
7    Hair
8    Eyes
9    Race
10   Sound
11   Skill
12   Effect
13   Script
14   LandTexture
15   Enchantment
16   Spell
17   Birthsign
18   Activator
19   Apparatus
20   Armor
21   Book
22   Clothing
23   Container
24   Door
25   Ingredient
26   Light
27   Misc
28   Static
29   Grass
30   Tree
31   Flora
32   Furniture
33   Weapon
34   Ammo
35   NPC
36   Creature
37   Creature Leveled List
38   Soul Gem
39   Key
40   Alchemy Item
41   Sub Space
42   Sigil Stone
43   Item Leveled List
44   SNDG
45   Weather
46   Climate
47   Region
48   Cell
49   REFR
50   ACHR
51   ACRE
52   Path Grid
53   Worldspace
54   Land
55   TLOD
56   Road
57   Dialog
58   Dialog Info
59   Quest
60   Idle
61   Package
62   Combat Style
63   Load Screen
64   Spell Leveled List
65   ANIO
66   Water Form
67   Effect Shader
68   TOFT

Notes

  • You cannot currently get the majority of these types. However, as OBSE expands most of these will become available.