Get gender
From Unofficial QEdit Wiki Guide
Contents
Syntax
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.
Use
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.
Example
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.
ret