Enums & Constants
Hero IDs
Hero identifier constants
hero_id.any
hero_id.none
hero_id.generic
hero_id.infernus
hero_id.seven
hero_id.vindicta
hero_id.ladygeist
hero_id.abrams
hero_id.wraith
hero_id.mcginnis
hero_id.paradox
hero_id.dynamo
hero_id.kelvin
hero_id.haze
hero_id.holliday
hero_id.bebop
hero_id.calico
hero_id.greytalon
hero_id.moandkrill
hero_id.shiv
hero_id.ivy
hero_id.warden
hero_id.yamato
hero_id.lash
hero_id.viscous
hero_id.wrecker
hero_id.pocket
hero_id.mirage
hero_id.vyper
hero_id.sinclair
hero_id.fathom
hero_id.trapper
hero_id.raven
hero_id.mina
hero_id.drifter
hero_id.venator
hero_id.victor
hero_id.paige
hero_id.doorman
hero_id.billy
hero_id.graves
hero_id.apollo
hero_id.rem
hero_id.silver
hero_id.celesteSlots
Ability, item, and innate slot identifiers. ability1–ability4 are signature abilities, item1–item4 are active items, innate1–innate3 are innate abilities, and the rest are engine movement/weapon slots.
slot.ability1
slot.ability2
slot.ability3
slot.ability4
slot.item1
slot.item2
slot.item3
slot.item4
slot.held
slot.zipline
slot.mantle
slot.climb_rope
slot.jump
slot.slide
slot.teleport
slot.zipline_boost
slot.innate1
slot.innate2
slot.innate3
slot.weapon_secondary
slot.weapon_primary
slot.weapon_meleeBones
Skeleton bone indices for p:get_bone_position()
bone.head
bone.neck
bone.spine_1
bone.spine_2
bone.pelvis
bone.arm_upper_L
bone.arm_lower_L
bone.hand_L
bone.arm_upper_R
bone.arm_lower_R
bone.hand_R
bone.leg_upper_L
bone.leg_lower_L
bone.ankle_L
bone.leg_upper_R
bone.leg_lower_R
bone.ankle_RItem Buckets
Item bucket type categories
bucket.innate
bucket.weapon
bucket.vitality
bucket.spiritPlayer Modifier Flags
Gameplay state modifier flags, used with p:has_modifier_flag()
modifier_flag.immune
modifier_flag.invisible
modifier_flag.urn
modifier_flag.ult
modifier_flag.burning
modifier_flag.stunned
modifier_flag.kidnapped
modifier_flag.slow
modifier_flag.shop
modifier_flag.disarmed
modifier_flag.silenced
modifier_flag.teleporting
modifier_flag.zipline
modifier_flag.burrow
modifier_flag.attached
modifier_flag.respawn_credit
modifier_flag.bunny
modifier_flag.cat
modifier_flag.frog
modifier_flag.lycan
modifier_flag.copy_ultPlayer Flags
Engine-level entity flags, used with p:is_()
player_flag.onground
player_flag.ducking
player_flag.waterjump
player_flag.frozen
player_flag.atcontrols
player_flag.client
player_flag.fakeclient
player_flag.fly
player_flag.godmode
player_flag.notarget
player_flag.aimtarget
player_flag.staticprop
player_flag.grenade
player_flag.donttouch
player_flag.basevelocity
player_flag.worldbrush
player_flag.object
player_flag.onfire
player_flag.dissolving
player_flag.transragdoll
player_flag.unblockable_by_playerVirtual Keys (VK)
Virtual key constants for input. Includes LBUTTON, RBUTTON, MBUTTON, XBUTTON1, XBUTTON2, SHIFT, SPACE, RETURN, ESCAPE. For-loops generate F1-F12, A-Z, KEY_0-KEY_9.
VK.LBUTTON
VK.RBUTTON
VK.MBUTTON
VK.XBUTTON1
VK.XBUTTON2
VK.SHIFT
VK.SPACE
VK.RETURN
VK.ESCAPE
VK.F1
VK.F2
VK.F3
VK.F4
VK.F5
VK.F6
VK.F7
VK.F8
VK.F9
VK.F10
VK.F11
VK.F12
VK.A
VK.B
VK.C
VK.D
VK.E
VK.F
VK.G
VK.H
VK.I
VK.J
VK.K
VK.L
VK.M
VK.N
VK.O
VK.P
VK.Q
VK.R
VK.S
VK.T
VK.U
VK.V
VK.W
VK.X
VK.Y
VK.Z
VK.KEY_0
VK.KEY_1
VK.KEY_2
VK.KEY_3
VK.KEY_4
VK.KEY_5
VK.KEY_6
VK.KEY_7
VK.KEY_8
VK.KEY_9