Difference between revisions of "MaxWeight"

From Wiki
Jump to: navigation, search
Line 7: Line 7:
 
The #maxWeight system variable determines the maximum weight of the character.
 
The #maxWeight system variable determines the maximum weight of the character.
  
''NOTE: This variable will not work unless the character status bar is open. You can use [[event Macro#Gump Control|event Macro 8 2]] to open it from your script.''
+
 
 +
{| style="background:honeydew"
 +
|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 ===
Line 16: Line 19:
 
...
 
...
 
</pre>
 
</pre>
==== See Also ====
+
 
{|
+
{{footer}}
| Width=200px | [[Var weight|#weight]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Status|Status System Variables]]
+
|}
+

Revision as of 19:08, 25 August 2005


Description

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