Difference between revisions of "Sex"
From Wiki
| (9 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{header|Status Variables|ro|The #sex system variable determines the sex of the character.}} | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | {{ro | + | |
| − | + | ||
| − | The #sex system variable determines the sex of the character. | + | |
| − | + | ||
| − | + | ||
| − | + | ||
{| border="1" | {| border="1" | ||
| − | !style="background:#ffdead;" | Value || style="background:#ffdead;" | Description | + | |+#sex System Variable Values |
| + | !style="background:#ffdead;" width=100 align=center| Value || style="background:#ffdead;" width=200 | Description | ||
|- | |- | ||
| − | |0 || Character is Male | + | | align=center | 0 || Character is Male |
|- | |- | ||
| − | |1 || Character is Female | + | | align=center | 1 || Character is Female |
|} | |} | ||
| − | + | ||
| − | { | + | {{StatusNote}} |
| − | + | ||
| − | + | ||
| − | + | =See Also= | |
| − | + | {{Status Variables}} | |
| − | + | ||
| − | + | ||
Latest revision as of 12:18, 13 October 2007
| ⇒ | The #sex system variable determines the sex of the character. |
| Value | Description |
|---|---|
| 0 | Character is Male |
| 1 | Character is Female |
| Note: | This variable will not work unless the character status bar is open. You can use Event Macro 8 2 to open it from your script. |
See Also
Status Variables
- Status variables come from the UO Status Bar in game. They provide information about the current character.
The character's status bar MUST be opened for these values to work!
| #charName | ⇒ | Returns the name of the character |
| #sex | ⇒ | Returns the sex of the character |
| #str | ⇒ | Returns the strength of the character |
| #hits | ⇒ | Returns the current number of hitpoints of the character |
| #maxHits | ⇒ | Returns the maximum number of hitpoints of the character |
| #dex | ⇒ | Returns the dexterity of the character |
| #stamina | ⇒ | Returns the current stamina level or the character |
| #maxStam | ⇒ | Returns the maximum stamina level or the character |
| #int | ⇒ | Returns the intelligence of the character |
| #mana | ⇒ | Returns the current mana pool for the character |
| #maxMana | ⇒ | Returns the maximum mana pool for the character |
| #maxStats | ⇒ | Returns the current maximum stats of the character |
| #luck | ⇒ | Returns the current luck of the character |
| #weight | ⇒ | Returns the current weight of the character |
| #maxWeight | ⇒ | Returns the maximum weight of the character |
| #minDmg | ⇒ | Returns the minimum damage done with the currently yielded weapon |
| #maxDmg | ⇒ | Returns the maximum damage done with the currently yielded weapon |
| #gold | ⇒ | Returns the amount of gold on the character |
| #followers | ⇒ | Returns the current number of followers of the character |
| #maxFol | ⇒ | Returns the maximum number of followers of the character |
| #AR | ⇒ | Returns the Armor Rating of the character |
| #FR | ⇒ | Returns the Fire Resist of the character |
| #CR | ⇒ | Returns the Cold Resist of the character |
| #PR | ⇒ | Returns the Poison Resist of the character |
| #ER | ⇒ | Returns the Energy Resist of the character |
| #TP | ⇒ | Returns the Tithing Points of the character |