Difference between revisions of "Weight"

From Wiki
Jump to: navigation, search
m (Description)
Line 7: Line 7:
 
The #weight system variable determines the current weight of the character.
 
The #weight system variable determines the current weight of the character.
  
'''NOTE:'''
+
''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.''
*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 ====
 
==== Example ====
 
<pre>
 
<pre>
Line 18: Line 18:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px | [[var maxWeight|#MaxWeight]]
+
| Width=200px | [[var maxWeight|#maxWeight]]
 
|}
 
|}
 
----
 
----

Revision as of 16:04, 16 August 2005

#weight

Status System Variables

Description

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

#maxWeight

Main_Page Documentation Status System Variables