Difference between revisions of "Get number of player1"
From Unofficial QEdit Wiki Guide
Japanaman2 (Talk | contribs) |
(No difference)
|
Revision as of 09:22, 30 April 2013
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 player is in the room the register used will equal 00000002.
If 3 player is in the room the register used will equal 00000003.
If 4 player is 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