Get player status

From Unofficial QEdit Wiki Guide
Revision as of 22:39, 10 June 2022 by Ender (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax

Syntax: get_player_status register 1, register 2

  • register 1 = Register for character slot.
  • register 2 = Value that tells what state the player is in.

Use

Returns a value indicating the current state a player is in.

Values

00: Invalid player slot or warping on V3 and lower.

01: Standing

02: Walking

03: Running

04: Attacking

05: Casting

06: Initiating Photon Blast

07: Defending

08: Hitstun/Knockdown

09: Dead

0A: Animation or Cutscene

0B: Being Revived

0C: Frozen

0D: Warping (Blue Burst only)

There is no warping value for V3 and earlier, but value 00 is assumed to be correct if the player is known to exist.

Also see

get_slotnumber, p_dead_V3, use_animation