Difference between revisions of "Weight"

From Wiki
Jump to: navigation, search
Line 2: Line 2:
 
[[Category: Status]]
 
[[Category: Status]]
  
=== Description ===
+
== Description ==
 
{{ro}}
 
{{ro}}
  
 
The #weight system variable determines the current weight of the character.
 
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#Gump Control|event Macro 8 2]] to open it from your script.''
 
  
==== Example ====
+
{| style="background:honeydew"
 +
|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>
 
<pre>
 
...
 
...
Line 16: Line 19:
 
...
 
...
 
</pre>
 
</pre>
==== See Also ====
+
 
{|
+
{{footer}}
| Width=200px | [[var maxWeight|#maxWeight]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Status|Status System Variables]]
+
|}
+

Revision as of 19:10, 25 August 2005


Description

The #weight system variable determines the current weight of the character.


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