Ifpinventory: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hunter byte (talk | contribs) mNo edit summary |
||
Line 14: | Line 14: | ||
[[Category:Duke3D 1.3/1.5 commands]] | [[Category:Duke3D 1.3/1.5 commands]] | ||
[[Category:Player manipulation]] | |||
[[Category:If conditions]] | [[Category:If conditions]] |
Revision as of 14:24, 21 April 2008
ifpinventory <inventory item> <value>
Returns true if the current amount of the inventory item being tested is not equal to <value>. Valid values for <inventory item> are:
- GET_ACCESS
- GET_BOOTS
- GET_FIRSTAID
- GET_HEATS
- GET_HOLODUKE
- GET_JETPACK
- GET_SCUBA
- GET_SHIELD
- GET_STEROIDS
Inventory amounts may also be tested and adjusted using the player member functions.