Difference between revisions of "Weight"

From Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|}
 
|}
  
{| style="background:honeydew"
+
{{statusbar_info}}
|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 ==

Revision as of 22:52, 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