Inventory code verb reference.
ActivateBin ChangeInv DeactivateBin GetInv GetInvCog GetInvMax GetInvMin IsInvActivated IsInvAvailable SetBinWait SetInv SetInvActivated SetInvAvailable SetInvFlags |
Activates a bin BINS Ref
Use: ActivateBin(thing,flex delay,bin);
Changes the value of specified inventory bin. BINS Ref
Use: BinValue = ChangeInv(player, bin, flex); returns the bin flex value (won`t exceed bin min/max).Value can be positive or negative.
Deactivates a bin . BINS Ref
Use: Time = DeactivateBin(thing,Bin); Returns the time bin has been activated
Retrives the value of specified inventory bin. BINS Ref
Use: BinValue = GetInv(thing,bin); Returns value of bin content.
Retrives the cog reference of a bin. BINS Ref
Use: Cog = GetInvCog(thing,bin); Returns the reference of the cog of the bin passed. passed.
Retrives the max value for specified bin. BINS Ref
Use: MaxValue = GetInvMax(thing,bin); Returns the max value of bin.
Retrives the min value for specified bin. BINS Ref
Use: MinValue = GetInvMin(thing,bin); Returns the min value of bin.
Checks bin to see if it is activated. BINS Ref
Use: IsActive = IsInvActivated(thing,bin); returns 1 if bin active,0 if inactive.
Checks bin to see if it is available. BINS Ref
Use: IsAvailable = IsInvAvailable(thing,bin); returns 1 if bin available,0 if notavailable.
Sets a delay before bin can be reactivated. BINS Ref
Use: SetBinWait(player,bin,flex delay);
Sets the value of the specified inventory bin. BINS Ref
Use: SetInv(thing,bin,flex); sets bin to value.
Acivates or deactivates the specified bin. It also draws the bin icon on right side of screen. BINS Ref
Use: SetInvActivated(thing,bin,int); 1=activated ,0=inactive.
Sets bin to available/unavailable. Also displays the bin icon in the inventory. BINS Ref
Use: SetInvAvailable(thing,bin,int); 1 = bin available,0 = notavailable.
Sets specified bin flags
Use: SetInvFlags(player,bin,flags); Not sure of this ,not used in cog.