Difference between revisions of "MaxWeight"

From Wiki
Jump to: navigation, search
Line 1: Line 1:
__NOTOC__
+
{{header|Status|ro|The #maxWeight system variable determines the maximum weight of the character.}}
[[Category: Status]]
+
 
{|
+
 
| width=100 | {{ro}} || 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.}}
|}
+
  
{{statusbar_info}}
 
  
 
== Example ==
 
== Example ==

Revision as of 09:38, 27 August 2005

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

...
if #weight > #maxWeight
   display ok You are over weight!
...

See also

Main Page Documentation