Difference between revisions of "MaxWeight"

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

Revision as of 20:39, 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