Difference between revisions of "CharGhost"

From Wiki
Jump to: navigation, search
 
 
(5 intermediate revisions by 3 users 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".}}
== #charGhost ==
+
 
'''Miscellaneous System Variables'''
+
=== Description ===
+
{{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".
 
  
 
{| border="1" cellpadding="2"
 
{| border="1" cellpadding="2"
Line 17: Line 13:
 
|}
 
|}
  
==== Example ====
+
== Example ==
 
<pre>
 
<pre>
  
Line 29: Line 25:
  
 
</pre>
 
</pre>
==== See Also ====
+
=See Also=
{|
+
{{Character Variables}}
| Width=200px | [[Var_charStatus|&#0035;charStatus]]
+
| [[Documentation#Character|&#0035;Character Variables]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Miscellaneous_Variables|Miscellaneous System 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)