Talk:GetType - Form

From the CreationKit Wiki
Jump to navigation Jump to search

Is there a way to get the active magic effects on an actor? --Jbezorg (talk) 2013-08-07T23:37:42 (EDT)

Types as Constants[edit source]

For anyone who uses a lot of these, it can be handy to refer to them by their names instead of numbers. Here is code you can paste into the beginning of your script. --Jayne2132 (talk) 2015-02-05T14:47:50 (EST)

int TYPE_ANIO = 83

int TYPE_ARMA = 102

int TYPE_ACOUSTICSPACE = 16

int TYPE_ACTION = 6

int TYPE_ACTIVATOR = 24

int TYPE_ACTORVALUEINFO = 95

int TYPE_ADDONNODE = 94

int TYPE_AMMO = 42

int TYPE_APPARATUS = 33

int TYPE_ARMOR = 26

int TYPE_ARROWPROJECTILE = 64

int TYPE_ART = 125

int TYPE_ASSOCIATIONTYPE = 123

int TYPE_BARRIERPROJECTILE = 69

int TYPE_BEAMPROJECTILE = 66

int TYPE_BODYPARTDATA = 93

int TYPE_BOOK = 27

int TYPE_CAMERAPATH = 97

int TYPE_CAMERASHOT = 96

int TYPE_CELL = 60

int TYPE_CHARACTER = 62

int TYPE_CLASS = 10

int TYPE_CLIMATE = 55

int TYPE_COLLISIONLAYER = 132

int TYPE_COLORFORM = 133

int TYPE_COMBATSTYLE = 80

int TYPE_CONEPROJECTILE = 68

int TYPE_CONSTRUCTIBLEOBJECT = 49

int TYPE_CONTAINER = 28

int TYPE_DLVW = 117

int TYPE_DEBRIS = 88

int TYPE_DEFAULTOBJECT = 107

int TYPE_DIALOGUEBRANCH = 115

int TYPE_DOOR = 29

int TYPE_DUALCASTDATA = 129

int TYPE_EFFECTSETTING = 18

int TYPE_EFFECTSHADER = 85

int TYPE_ENCHANTMENT = 21

int TYPE_ENCOUNTERZONE = 103

int TYPE_EQUIPSLOT = 120

int TYPE_EXPLOSION = 87

int TYPE_EYES = 13

int TYPE_FACTION = 11

int TYPE_FLAMEPROJECTILE = 67

int TYPE_FLORA = 39

int TYPE_FOOTSTEP = 110

int TYPE_FOOTSTEPSET = 111

int TYPE_FURNITURE = 40

int TYPE_GMST = 3

int TYPE_GLOBAL = 9

int TYPE_GRASS = 37

int TYPE_GRENADEPROJECTILE = 65

int TYPE_GROUP = 2

int TYPE_HAZARD = 51

int TYPE_HEADPART = 12

int TYPE_IDLE = 78

int TYPE_IDLEMARKER = 47

int TYPE_IMAGESPACE = 89

int TYPE_IMAGESPACEMODIFIER = 90

int TYPE_IMPACTDATA = 100

int TYPE_IMPACTDATASET = 101

int TYPE_INGREDIENT = 30

int TYPE_KEY = 45

int TYPE_KEYWORD = 4

int TYPE_LAND = 72

int TYPE_LANDTEXTURE = 20

int TYPE_LEVELEDCHARACTER = 44

int TYPE_LEVELEDITEM = 53

int TYPE_LEVELEDSPELL = 82

int TYPE_LIGHT = 31

int TYPE_LIGHTINGTEMPLATE = 108

int TYPE_LIST = 91

int TYPE_LOADSCREEN = 81

int TYPE_LOCATION = 104

int TYPE_LOCATIONREF = 5

int TYPE_MATERIAL = 126

int TYPE_MATERIALTYPE = 99

int TYPE_MENUICON = 8

int TYPE_MESSAGE = 105

int TYPE_MISC = 32

int TYPE_MISSILEPROJECTILE = 63

int TYPE_MOVABLESTATIC = 36

int TYPE_MOVEMENTTYPE = 127

int TYPE_MUSICTRAC = 116

int TYPE_MUSICTYPE = 109

int TYPE_NAVI = 59

int TYPE_NPC = 43

int TYPE_NAVMESH = 73

int TYPE_NONE = 0

int TYPE_NOTE = 48

int TYPE_OUTFIT = 124

int TYPE_PHZD = 70

int TYPE_PACKAGE = 79

int TYPE_PER = 92

int TYPE_POTION = 46

int TYPE_PROJECTILE = 50

int TYPE_QUEST = 77

int TYPE_RACE = 14

int TYPE_RAGDOLL = 106

int TYPE_REFERENCE = 61

int TYPE_REFERENCEEFFECT = 57

int TYPE_REGION = 58

int TYPE_RELATIONSHIP = 121

int TYPE_REVERBPARAM = 134

int TYPE_SCENE = 122

int TYPE_SCRIPT = 19

int TYPE_SCROLLITEM = 23

int TYPE_SHADERPARTICLEGEOMETRYDATA = 56

int TYPE_SHOUT = 119

int TYPE_SKILL = 17

int TYPE_SOULGEM = 52

int TYPE_SOUND = 15

int TYPE_SOUNDCATEGORY = 130

int TYPE_SOUNDDESCRIPTOR = 128

int TYPE_SOUNDOUTPUT = 131

int TYPE_SPELL = 22

int TYPE_STATIC = 34

int TYPE_STATICCOLLECTION = 35

int TYPE_STORYBRANCHNODE = 112

int TYPE_STORYEVENTNODE = 114

int TYPE_STORYQUESTNODE = 113

int TYPE_TES4 = 1

int TYPE_TLOD = 74

int TYPE_TOFT = 86

int TYPE_TALKINGACTIVATOR = 25

int TYPE_TEXTURESET = 7

int TYPE_TOPIC = 75

int TYPE_TOPICINFO = 76

int TYPE_TREE = 38

int TYPE_VOICETYPE = 98

int TYPE_WATER = 84

int TYPE_WEAPON = 41

int TYPE_WEATHER = 54

int TYPE_WORDOFPOWER = 118

int TYPE_WORLDSPACE = 71