Weapon Ammo
by Daniel Neilsen · in Torque Game Engine · 10/10/2001 (1:53 pm) · 3 replies
Hey guys,
Does anyone know what variable the engine searches for on the player to determine how much ammo the player has?
In the case I am trying, my ammo property in my weapon image is set as follows:
ammo = WeaponAmmo;
I have tried setting values for
%player.inv[WeaponAmmo];
%player.WeaponAmmo;
but neither of these seem to work. Anyone know how to do this?
Does anyone know what variable the engine searches for on the player to determine how much ammo the player has?
In the case I am trying, my ammo property in my weapon image is set as follows:
ammo = WeaponAmmo;
I have tried setting values for
%player.inv[WeaponAmmo];
%player.WeaponAmmo;
but neither of these seem to work. Anyone know how to do this?
About the author
Torque Owner Rick Overman