Hey there, Nasty Buttler
Alot of people think that when they put a name into the Ammo Crate field they will be assigning the crate that variable name. This isnt so.....here is a little test
Afraid you've got it a bit wrong there old boy
The name field of an object is where you assign it it's variable name. The test you did there:
hint ["The name of this crate is \n::> %1", AMMO1]
Will not return the variable name... try it on a Soldier. You won't get it's name back, you'll get a callsign "Alpha Black 1, Kilo Red 4 etc."
So, you can still use the name field of an ammo crate to assign it a variable name. If you couldn't, then placing weapons in using the init.sqs (which I do successfully in almost every mission I make
) would not work.
You should still be able to detect when an ammo crate is destroyed by:
not (alive
ammocrate)
or get the damage value by:
getdammage
ammocrateAnyway, hope that's shed some light on the problem