Difference between revisions of "MaxWeight"

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 21:50, 25 August 2005

The #maxWeight system variable determines the maximum 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 > #maxWeight
   display ok You are over weight!
...

See also

Main Page Documentation