Difference between revisions of "CharGhost"

From Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
__NOTOC__
+
{{header|Character Variables|ro| The #charGhost system variable determines if your character is dead. If the character is dead it holds "YES", if it is alive it holds "NO".}}
[[Category: Character]]
+
 
{|
+
| width=100 | {{ro}} || The #charGhost system variable determines if your character is dead. If the character is dead it holds "YES", if it is alive it holds "NO".
+
|}
+
  
  
Line 28: Line 25:
  
 
</pre>
 
</pre>
{{footer}}
+
=See Also=
 +
{{Character Variables}}

Latest revision as of 12:15, 13 October 2007

The #charGhost system variable determines if your character is dead. If the character is dead it holds "YES", if it is alive it holds "NO".


Table of #charGhost values
Value Description
YES Character is dead.
NO Character is alive.

Example


...
if #charGhost = YES
{
	gosub logOut
	halt
}
...

See Also

Character Variables

  • The character category of system variables contains information specific to the character in the current instance of Ultima Online that EasyUO is attached to.
#charPosX Returns the characters world X-coordinate
#charPosY Returns the characters world Y-coordinate
#charPosZ Returns the characters world Z-coordinate
#charDir Returns the direction the character is facing
#charStatus Returns different states that the character can be in
#charID Returns the id of the character
#charGhost Returns if your character is dead
#backpackID Displays the ID of your player's backPack (Inventory)