Difference between revisions of "MaxWeight"

From Wiki
Jump to: navigation, search
m (#maxWeight)
Line 9: Line 9:
 
''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.''
 
''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.''
  
 +
=== Example ===
 +
</pre>
 +
if #weight > #maxWeight
 +
  display ok You are over weight!
 +
</pre>
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|

Revision as of 18:22, 16 August 2005

#maxWeight

Status System Variables

Description

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 8 2 to open it from your script.

Example

</pre> if #weight > #maxWeight

  display ok You are over weight!

</pre>

See Also

#weight

Main_Page Documentation Status System Variables