Difference between revisions of "Weight"

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}}
 
+
  
 
== Example ==
 
== Example ==

Revision as of 22:34, 20 December 2005

The #weight system variable determines the current 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 > 350
  gosub gotoBank
...

See also

Main Page Documentation