Difference between revisions of "MaxWeight"

From Wiki
Jump to: navigation, search
(status note)
Line 2: Line 2:
  
  
{{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.}}
+
{{StatusNote}}
  
  

Revision as of 21:32, 20 December 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