Player - HockeyQuestionMark/HockeyEditor GitHub Wiki

Properties

Property Returns Description Read Only?
InServer Boolean Is the player in the server? Yes
ID Integer The player's ID, used in the transformation struct Yes
Team HQMTeam The team that the player is on No
Name String The player's name Yes
Role HQMRole The role that the player is occupying No
LockoutTime Integer The amount of time in hundredths of a second that before the player can change team again Yes
StickAngle Float The angle of the player's stick. Ranges from -1 to 1 in increments of 0.25 No
Turning Float The direction the player is turning. -1 = Left, 1 = Right, 0 = not turning No
ForwardBack Float Whether the player is moving forwards (1), reversing (-1) or not moving (0) No
StickXRotation Float The rotation of the stick around the player (in radians). Ranges from -Pi / 2 to Pi / 2 No
StickYRotation Float The rotation of the stick away from the player (in radians) No
LegState Integer 1 = Jumping, 2 = Crouched, 16 = Stopped with Shift No
HeadXRotation Float The rotation of the player's head looking left or right No
HeadYRotation Float The rotation of the player's head looking up or down No
Goals Integer The number of goals that the player has scored Yes
Assists Integer The number of assists the player has got Yes
Position HQMVector The player's position Yes
SinRotation Float The Sine of the angle of the direction the player is facing Yes
CosRotation Float The Cosine of the angle of the direction the player is facing Yes
StickPosition HQMVector The position of the player's stick Yes