What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

HOWTO profile call NumFreeBackpackSlots

QKdefus

New Member
Joined
Apr 5, 2010
Messages
24
Reaction score
0
after a lot of trial and error i figured how it can be called from within a profile..

example: (will return true if slots < 12)

Code:
<While condition="(not ZetaDia.Me.Inventory.NumFreeBackpackSlots >= 11)" >
            <LogMessage output="TRUE" />  
</While>

for some frustrating reason "not" & ">=" is the opposite of "<=" and it can not be called with "<" ">" or "<=" it will result in error.
 
&lt; equals less than
&gt; equals more than
Example for TRUE while NumFreeBackpackSlots < 11:
Code:
<While condition="(ZetaDia.Me.Inventory.NumFreeBackpackSlots &lt; 11)" >
            <LogMessage output="TRUE" />  
</While>
 
Back
Top