GetType - Form

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Form Script

Returns this form's form type. (This function requires SKSE)

Syntax[edit | edit source]

int Function GetType() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The form type of this form:

  • kANIO = 83
  • kARMA = 102
  • kAcousticSpace = 16
  • kAction = 6
  • kActivator = 24
  • kActorValueInfo = 95
  • kAddonNode = 94
  • kAmmo = 42
  • kApparatus = 33
  • kArmor = 26
  • kArrowProjectile = 64
  • kArt = 125
  • kAssociationType = 123
  • kBarrierProjectile = 69
  • kBeamProjectile = 66
  • kBodyPartData = 93
  • kBook = 27
  • kCameraPath = 97
  • kCameraShot = 96
  • kCell = 60
  • kCharacter = 62
  • kClass = 10
  • kClimate = 55
  • kCollisionLayer = 132
  • kColorForm = 133
  • kCombatStyle = 80
  • kConeProjectile = 68
  • kConstructibleObject = 49
  • kContainer = 28
  • kDLVW = 117
  • kDebris = 88
  • kDefaultObject = 107
  • kDialogueBranch = 115
  • kDoor = 29
  • kDualCastData = 129
  • kEffectSetting = 18
  • kEffectShader = 85
  • kEnchantment = 21
  • kEncounterZone = 103
  • kEquipSlot = 120
  • kExplosion = 87
  • kEyes = 13
  • kFaction = 11
  • kFlameProjectile = 67
  • kFlora = 39
  • kFootstep = 110
  • kFootstepSet = 111
  • kFurniture = 40
  • kGMST = 3
  • kGlobal = 9
  • kGrass = 37
  • kGrenadeProjectile = 65
  • kGroup = 2
  • kHazard = 51
  • kHeadPart = 12
  • kIdle = 78
  • kIdleMarker = 47
  • kImageSpace = 89
  • kImageSpaceModifier = 90
  • kImpactData = 100
  • kImpactDataSet = 101
  • kIngredient = 30
  • kKey = 45
  • kKeyword = 4
  • kLand = 72
  • kLandTexture = 20
  • kLeveledCharacter = 44
  • kLeveledItem = 53
  • kLeveledSpell = 82
  • kLight = 31
  • kLightingTemplate = 108
  • kList = 91
  • kLoadScreen = 81
  • kLocation = 104
  • kLocationRef = 5
  • kMaterial = 126
  • kMaterialType = 99
  • kMenuIcon = 8
  • kMessage = 105
  • kMisc = 32
  • kMissileProjectile = 63
  • kMovableStatic = 36
  • kMovementType = 127
  • kMusicTrack = 116
  • kMusicType = 109
  • kNAVI = 59
  • kNPC = 43
  • kNavMesh = 73
  • kNone = 0
  • kNote = 48
  • kOutfit = 124
  • kPHZD = 70
  • kPackage = 79
  • kPerk = 92
  • kPotion = 46
  • kProjectile = 50
  • kQuest = 77
  • kRace = 14
  • kRagdoll = 106
  • kReference = 61
  • kReferenceEffect = 57
  • kRegion = 58
  • kRelationship = 121
  • kReverbParam = 134
  • kScene = 122
  • kScript = 19
  • kScrollItem = 23
  • kShaderParticleGeometryData = 56
  • kShout = 119
  • kSkill = 17
  • kSoulGem = 52
  • kSound = 15
  • kSoundCategory = 130
  • kSoundDescriptor = 128
  • kSoundOutput = 131
  • kSpell = 22
  • kStatic = 34
  • kStaticCollection = 35
  • kStoryBranchNode = 112
  • kStoryEventNode = 114
  • kStoryQuestNode = 113
  • kTES4 = 1
  • kTLOD = 74
  • kTOFT = 86
  • kTalkingActivator = 25
  • kTextureSet = 7
  • kTopic = 75
  • kTopicInfo = 76
  • kTree = 38
  • kVoiceType = 98
  • kWater = 84
  • kWeapon = 41
  • kWeather = 54
  • kWordOfPower = 118
  • kWorldSpace = 71

Examples[edit | edit source]

; Returns the 27 as the form type of MyBook
int MyType = MyBook.GetType()

See Also[edit | edit source]