Game Development Community

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?

#1
10/10/2001 (4:21 pm)
We will be open up the cvs server in a couple days that has all this stuff in and working -- aummo packs, ammo counts, health packs, weapons, projectiles, sound, etc, etc...
#2
10/10/2001 (6:16 pm)
ahh excellent

Does that mean the new code will be available in a couple of days then?
#3
10/10/2001 (9:42 pm)
Yes, the new code will be available from the cvs. We probably won't update the download install program for a little while longer.