Difference between revisions of "CharStatus"

From Wiki
Jump to: navigation, search
(Description)
(Charstatus A = frozen. != casting)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{header|Character Variables|ro| Determines different states that the character can be in.}}
== #charStatus ==
+
'''Miscellaneous System Variables'''
+
=== Description ===
+
{{ro}}
+
  
Determines different states that the character can be in.
 
  
 
{| border="1" cellpadding="2"
 
{| border="1" cellpadding="2"
Line 18: Line 13:
 
| B || Character is female.
 
| B || Character is female.
 
|-
 
|-
| P || Character is in war mode.
+
| G || Character is in war mode.
 +
|-
 +
| D || Character is affected with lethal strike.
 +
|-
 +
| A || Character is frozen
 +
(actively casting a spell /
 +
Waiting for transport after using help-menu) .
 
|}
 
|}
  
==== Example ====
+
== Example ==
 
<pre>
 
<pre>
  
Line 37: Line 38:
  
 
</pre>
 
</pre>
==== See Also ====
+
=See Also=
{|
+
{{Character Variables}}
| Width=200px | [[Var_charGhost|&#0035;charGhost]] || Width=200px | [[Var_sex|&#0035;sex]]
+
| [[Documentation#Character|&#0035;Character Variables]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Miscellaneous_Variables|Miscellaneous System Variables]]
+
|}
+

Latest revision as of 01:57, 5 January 2008

Determines different states that the character can be in.


Table of #charStatus values
Value Description
C Character is poisoned.
H Character is hidden.
B Character is female.
G Character is in war mode.
D Character is affected with lethal strike.
A Character is frozen

(actively casting a spell / Waiting for transport after using help-menu) .

Example


...
if C in #charStatus
{
	gosub cureMe
}

...

sub cureMe
	...
	return

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)