Item Storage In A Backpack | |||
---|---|---|---|
Item Number | Bin | Amount | This would be: |
1 | 2 | 1 | Bryar. |
2 | 7 | 1 | Rail Detonator. |
3 | 10 | 1 | Lightsaber. |
4 | 11 | 50 | Energy ammo. |
5 | 15 | 6 | Rail charges. |
The number of items in a backpack is returned by NumBackpackItems(). Once you know how many items are
in a backpack, how do you find out what they are? NthBackpackBin() will return the bin ID of an item. And once
you have the bin number, you can find out how much is in the bin with NthBackpackValue(). This verb returns
the amount of the specified item.
Team System
When teamplay is used in a Multplayer game (not CTF), four teams can be used: red, yellow, blue, and green.
When teamplay is not checked, all players will have a team of 0 which cannot be changed. Remember that
whether teamplay is on or not, players always have a team.