Inven icon: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
No edit summary
verified via source code
Line 1: Line 1:
returns the value of the current icon for the inventory. I'm assuming it's in tile order. 0 for none and then 1 upwards:
'''inven_icon''' returns the value of the current HUD icon for the inventory.


<pre>
0 = N/A
0 = None
1 = MedKit
1 = Medikit
2 = Steroids
2 = Steroids
3 = HoloDuke
3 = HoloDuke
4 = Jetpack
4 = Jetpack
5 = Night Vision Goggles
5 = Heat Goggles
6 = Scuba Gear
6 = Scuba
7 = Boots
7 = boots
 
</pre>
There is no value for the space suit, so end-users who want to add it back in have to re-code the HUD.


[[Category:Player structure members]]
[[Category:Player structure members]]

Revision as of 15:18, 23 May 2007

inven_icon returns the value of the current HUD icon for the inventory.

0 = N/A
1 = MedKit
2 = Steroids
3 = HoloDuke
4 = Jetpack
5 = Night Vision Goggles
6 = Scuba Gear
7 = Boots

There is no value for the space suit, so end-users who want to add it back in have to re-code the HUD.