‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_zm_utility.gsh
Go to the documentation of this file.
1 #define IS_DRINKING(_is_drinking) ( _is_drinking > 0 )
2 #define IS_ZOMBIETEAM(__self) (__self.team == level.zombie_team)
3 
4 //=============================================================================
5 // _zm_power power sources
6 
7 #define ANY_POWER 0
8 #define LOCAL_POWER_ONLY 1
9 #define GLOBAL_POWER_ONLY 2
10 
11 #define STOP_FX_IMMEDIATELY true
12 
13 #define DPAD_UP 1
14 #define DPAD_DOWN 2
15 #define DPAD_LEFT 3
16 #define DPAD_RIGHT 4
17 
18 #define MAX_CLIENTS_ZM 4
19 
20 #define PATHDIST_APPROXIMATE 0
21 #define PATHDIST_CORNERPREDICTED 1
22 #define PATHDIST_ORIGINAL 2
23 
24 //***** BEGIN MATCH RECORD EVENT DEFINES ****///
25 #define ZM_MAP_EVENT_INVALID 0
26 #define ZM_MAP_EVENT_ENTER_BEAST_MODE 1
27 #define ZM_MAP_EVENT_ENTER_SUPER_BEAST_MODE 2
28 
29 //Optional Param 1 - Gumball the player was holding
30 //Optional Param 2 - Gumball the player took
31 #define ZM_MAP_EVENT_ENTER_BUBBLEGUM_GRABBED 3
32 
33 //Optional Param 1 -- Gumball index consumed
34 //Optional Param 2 -- Player Health --Not sure what else to track here.
35 #define ZM_MAP_EVENT_ENTER_BUBBLEGUM_USED 4
36 
37 //Optional Param 1 -- Door Cost
38 #define ZM_MAP_EVENT_PURCHASE_DOOR 5
39 
40 //Optional Param 1 -- Gun Index
41 //Optional Param 2 -- Gun Cost
42 #define ZM_MAP_EVENT_PURCHASE_GUN 6
43 
44 //Optional Param 1 -- Gun Index
45 //Optional Param 2 -- Gun Cost
46 #define ZM_MAP_EVENT_PURCHASE_AMMO 7
47 
48 #define ZM_MAP_EVENT_ROUND_START 8
49 #define ZM_MAP_EVENT_ROUND_END 9
50 
51 //Optional Param 1 -- Gun Index
52 #define ZM_MAP_EVENT_MAGIC_BOX_OFFERED 10
53 #define ZM_MAP_EVENT_MAGIC_BOX_TAKEN 11
54 #define ZM_MAP_EVENT_MAGIC_BOX_RETURNED 12
55 
56 #define ZM_MAP_EVENT_CRAFT_PIECE_PICKEDUP 13
57 #define ZM_MAP_EVENT_CRAFTABLE_BUILT 14
58 #define ZM_MAP_EVENT_CRAFTABLE_PLANTED 15
59 #define ZM_MAP_EVENT_CRAFTABLE_PICKEDUP 16
60 
61 //Optional Param 1 -- Switch Entity Number
62 #define ZM_MAP_EVENT_POWER_ON 17
63 #define ZM_MAP_EVENT_POWER_OFF 18
64 
65 //Optional Param 1 -- Gun Index
66 //Optional Param 2 -- Cost
67 #define ZM_MAP_EVENT_PAP_USED 19
68 
69 //Optional Param 1 -- Gun Index
70 #define ZM_MAP_EVENT_PAP_NOT_GRABBED 20
71 
72 //Optional Param 1 -- Ritual Hash
73 #define ZM_MAP_EVENT_RITUAL_STARTED 21
74 #define ZM_MAP_EVENT_RITUAL_ENDED 22
75 
76 //Optional Param 1 -- Powerup Hash
77 #define ZM_MAP_EVENT_POWERUP_GRABBED 23
78 
79 //NOTE -- The event position in this case is the world position of the POD, not the player.
80 //Optional Param 1 -- Pod Level
81 #define ZM_MAP_EVENT_POD_GRABBED 24
82 
83 //Optional Param 1 - Weapon Index
84 //Optional Param 2 - Current AAT Hash
85 #define ZM_MAP_EVENT_PAP_REPACK_USED 25
86 
87 //Optional Param 1 - Weapon Index
88 //Optional Param 2 - Offered AAT Hash
89 #define ZM_MAP_EVENT_PAP_REPACK_NOT_GRABBED 26
90 
91 //Optional Param 1 - Weapon Index
92 //Optional Param 2 - AAT Hash
93 #define ZM_MAP_EVENT_PAP_GRABBED 27
94 
95 //Optional Param 1 - Weapon Index
96 //Optional Param 2 - AAT Hash
97 #define ZM_MAP_EVENT_PAP_REPACK_GRABBED 28
98 
99 //NOTE -- The event position in this case is the world position of the PERK MACHINE, not the player. This can be used to identify which perk machine is being accessed.
100 //Optional Param 1 - Hash Index
101 #define ZM_MAP_EVENT_PERK_MACHINE_USED 29
102 
103 //***** END MATCH RECORD EVENT DEFINES ****///