// scope Types // REQUIRES globals string array _TypeNames constant integer _handle = 1 constant integer _agent = 2 constant integer _event = 3 constant integer _player = 4 constant integer _widget = 5 constant integer _unit = 6 constant integer _destructable = 7 constant integer _item = 8 constant integer _ability = 9 constant integer _buff = 10 constant integer _force = 11 constant integer _group = 12 constant integer _trigger = 13 constant integer _triggercondition = 14 constant integer _timer = 15 constant integer _location = 16 constant integer _region = 17 constant integer _rect = 18 constant integer _boolexpr = 19 constant integer _conditionfunc = 20 constant integer _filterfunc = 21 constant integer _sound = 22 constant integer _effect = 23 constant integer _fogmodifier = 24 constant integer _dialog = 25 constant integer _button = 26 constant integer _quest = 27 constant integer _questitem = 28 constant integer _defeatcondition = 29 constant integer _timerdialog = 30 constant integer _leaderboard = 31 constant integer _multiboard = 32 constant integer _multiboarditem = 33 constant integer _trackable = 34 constant integer _gamecache = 35 constant integer _hashtable = 36 constant integer _triggeraction = 37 constant integer _unitpool = 38 constant integer _itempool = 39 constant integer _race = 40 constant integer _alliancetype = 41 constant integer _racepreference = 42 constant integer _gamestate = 43 constant integer _igamestate = 44 constant integer _fgamestate = 45 constant integer _playerstate = 46 constant integer _playerscore = 47 constant integer _playergameresult = 48 constant integer _unitstate = 49 constant integer _aidifficulty = 50 constant integer _eventid = 51 constant integer _gameevent = 52 constant integer _playerevent = 53 constant integer _playerunitevent = 54 constant integer _unitevent = 55 constant integer _limitop = 56 constant integer _widgetevent = 57 constant integer _dialogevent = 58 constant integer _unittype = 59 constant integer _gamespeed = 60 constant integer _gamedifficulty = 61 constant integer _gametype = 62 constant integer _mapflag = 63 constant integer _mapvisibility = 64 constant integer _mapsetting = 65 constant integer _mapdensity = 66 constant integer _mapcontrol = 67 constant integer _playerslotstate = 68 constant integer _volumegroup = 69 constant integer _camerafield = 70 constant integer _camerasetup = 71 constant integer _playercolor = 72 constant integer _placement = 73 constant integer _startlocprio = 74 constant integer _raritycontrol = 75 constant integer _blendmode = 76 constant integer _texmapflags = 77 constant integer _effecttype = 78 constant integer _weathereffect = 79 constant integer _terraindeformation = 80 constant integer _fogstate = 81 constant integer _version = 82 constant integer _itemtype = 83 constant integer _texttag = 84 constant integer _attacktype = 85 constant integer _damagetype = 86 constant integer _weapontype = 87 constant integer _soundtype = 88 constant integer _lightning = 89 constant integer _pathingtype = 90 constant integer _mousebuttontype = 91 constant integer _animtype = 92 constant integer _subanimtype = 93 constant integer _image = 94 constant integer _ubersplat = 95 constant integer _real = 96 constant integer _integer = 97 constant integer _string = 98 constant integer _boolean = 99 constant integer _code = 100 constant integer _nothing = 101 endglobals function _init takes nothing returns nothing set _TypeNames [1] = "handle" set _TypeNames [2] = "agent" set _TypeNames [3] = "event" set _TypeNames [4] = "player" set _TypeNames [5] = "widget" set _TypeNames [6] = "unit" set _TypeNames [7] = "destructable" set _TypeNames [8] = "item" set _TypeNames [9] = "ability" set _TypeNames [10] = "buff" set _TypeNames [11] = "force" set _TypeNames [12] = "group" set _TypeNames [13] = "trigger" set _TypeNames [14] = "triggercondition" set _TypeNames [15] = "timer" set _TypeNames [16] = "location" set _TypeNames [17] = "region" set _TypeNames [18] = "rect" set _TypeNames [19] = "boolexpr" set _TypeNames [20] = "conditionfunc" set _TypeNames [21] = "filterfunc" set _TypeNames [22] = "sound" set _TypeNames [23] = "effect" set _TypeNames [24] = "fogmodifier" set _TypeNames [25] = "dialog" set _TypeNames [26] = "button" set _TypeNames [27] = "quest" set _TypeNames [28] = "questitem" set _TypeNames [29] = "defeatcondition" set _TypeNames [30] = "timerdialog" set _TypeNames [31] = "leaderboard" set _TypeNames [32] = "multiboard" set _TypeNames [33] = "multiboarditem" set _TypeNames [34] = "trackable" set _TypeNames [35] = "gamecache" set _TypeNames [36] = "hashtable" set _TypeNames [37] = "triggeraction" set _TypeNames [38] = "unitpool" set _TypeNames [39] = "itempool" set _TypeNames [40] = "race" set _TypeNames [41] = "alliancetype" set _TypeNames [42] = "racepreference" set _TypeNames [43] = "gamestate" set _TypeNames [44] = "igamestate" set _TypeNames [45] = "fgamestate" set _TypeNames [46] = "playerstate" set _TypeNames [47] = "playerscore" set _TypeNames [48] = "playergameresult" set _TypeNames [49] = "unitstate" set _TypeNames [50] = "aidifficulty" set _TypeNames [51] = "eventid" set _TypeNames [52] = "gameevent" set _TypeNames [53] = "playerevent" set _TypeNames [54] = "playerunitevent" set _TypeNames [55] = "unitevent" set _TypeNames [56] = "limitop" set _TypeNames [57] = "widgetevent" set _TypeNames [58] = "dialogevent" set _TypeNames [59] = "unittype" set _TypeNames [60] = "gamespeed" set _TypeNames [61] = "gamedifficulty" set _TypeNames [62] = "gametype" set _TypeNames [63] = "mapflag" set _TypeNames [64] = "mapvisibility" set _TypeNames [65] = "mapsetting" set _TypeNames [66] = "mapdensity" set _TypeNames [67] = "mapcontrol" set _TypeNames [68] = "playerslotstate" set _TypeNames [69] = "volumegroup" set _TypeNames [70] = "camerafield" set _TypeNames [71] = "camerasetup" set _TypeNames [72] = "playercolor" set _TypeNames [73] = "placement" set _TypeNames [74] = "startlocprio" set _TypeNames [75] = "raritycontrol" set _TypeNames [76] = "blendmode" set _TypeNames [77] = "texmapflags" set _TypeNames [78] = "effecttype" set _TypeNames [79] = "weathereffect" set _TypeNames [80] = "terraindeformation" set _TypeNames [81] = "fogstate" set _TypeNames [82] = "version" set _TypeNames [83] = "itemtype" set _TypeNames [84] = "texttag" set _TypeNames [85] = "attacktype" set _TypeNames [86] = "damagetype" set _TypeNames [87] = "weapontype" set _TypeNames [88] = "soundtype" set _TypeNames [89] = "lightning" set _TypeNames [90] = "pathingtype" set _TypeNames [91] = "mousebuttontype" set _TypeNames [92] = "animtype" set _TypeNames [93] = "subanimtype" set _TypeNames [94] = "image" set _TypeNames [95] = "ubersplat" set _TypeNames [96] = "real" set _TypeNames [97] = "integer" set _TypeNames [98] = "string" set _TypeNames [99] = "boolean" set _TypeNames [100] = "code" set _TypeNames [101] = "nothing" endfunction