Difference between revisions of "Weight"

From Wiki
Jump to: navigation, search
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
[[Category: Status]]
 
[[Category: Status]]
 
+
{|
== Description ==
+
| width=100 | {{ro}} || The #weight system variable determines the current weight of the character.
{{ro}}
+
|}
 
+
The #weight system variable determines the current weight of the character.
+
 
+
  
 
{| style="background:honeydew"
 
{| style="background:honeydew"
Line 12: Line 9:
 
|}
 
|}
  
=== Example ===
+
== Example ==
 
<pre>
 
<pre>
 
...
 
...

Revision as of 19:42, 25 August 2005

The #weight system variable determines the current weight of the character.
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

...
if #weight > 350
  gosub gotoBank
...

See also

Main Page Documentation