Get number of player1

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: get_number_of_player1 register

  • register = Register to store the number of players in the room when the op code is encountered.

Possible values of the register used.

If 1 player is in the room the register used will equal 00000001.

If 2 players are in the room the register used will equal 00000002.

If 3 players are in the room the register used will equal 00000003.

If 4 players are in the room the register used will equal 00000004.

Use

Used to sore the number of players in the room.

Example


100:     get_number_of_player1 R1 //Stores the number of players in the room in register 1 when the op code is encountered.
         ret 

Also see

ret