Get gender

From Unofficial QEdit Wiki Guide
Jump to: navigation, search


Syntax: get_gender register 1, register 2

  • Register 1 = Reserved register 250 to get the players slot number.
  • Register 2 = Register to store gender in.


Used to store the gender of the players in a register. 00000000 = male. 00000001 = female. For example you could make an npc say different things depending on if you are playing a male or female character with the appropriate jumps.


100:     get_slotnumber R250 //Stores the value of the slot the player is in in register 250.
         get_gender R250, R1 //Stores the gender of the players character in register 1.

Also see

get_slotnumber, ret, reservedregisters