Game Development Community

Dual Ammo System

by Chris Byars · in Torque Game Engine · 09/21/2005 (6:56 pm) · 1 replies

Nevermind on this issue, fixed it all. :)

#1
09/21/2005 (6:56 pm)
Quote: I thought if, in the code below, there was a check for what the current weapon is, if it is "grenadeLauncher", then set the GrenadeAmountHud with it's current ammo.

Sounds logical.

Try adding an echo in WeaponImage::onMount that echoes: %this.item
and go from there. If you're still having trouble, post here and i'll do my best to remember to check :)