Difference between revisions of "Hits"

From Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
{{ro}}
 
{{ro}}
 
+
The #hits system variable determines the current number of hitpoints of the character.
 +
<br><br>
 +
'''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.
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
 
+
msg I have #HITS hitpoints
 
+
halt
 
</pre>
 
</pre>
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px |  
+
[[Var_maxHits|#MaxHits]], [[Var_str|#Str]], [[Var_stamina|#Stamina]], [[Var_dex|#Dex]], [[Var_mana|#Mana]], [[Var_maxMana|#MaxMana]], [[Var_int|#Int]], [[Var_maxStats|#MaxStats]]
 
|}
 
|}
 
----
 
----

Revision as of 22:02, 15 August 2005

#hits

Status System Variables

Description

The #hits system variable determines the current number of hitpoints of the character.

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.

Example

msg I have #HITS hitpoints
halt

See Also

#MaxHits, #Str, #Stamina, #Dex, #Mana, #MaxMana, #Int, #MaxStats

Main_Page Documentation Status System Variables