ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Talk:InitialAmmo

From ModEnc
Jump to: navigation, search
Lily-ul.png
Lily-ur.png
Vinifera7:
 
 
InitialAmmo=-2 results in the unit being created with an empty ammo supply.
Lily-dl.png
Lily-dr.png
 
Are you sure about that? I don't see any -2 comparisons in the code... (I didn't yet have time to dig into the chrono stuff, sorry.) //DCoder 07:17, 20 December 2009 (UTC)
Okay, I'm wrong. I came to that conclusion a long time ago and I never double checked. In actuality, a negative integer other than −1, which is a special case, will result in the unit starting with that much ammo. If a unit starts with −2 ammo, it will have to automatically reload three times before having one usable ammo point. I will update the page later. Thanks for catching that. //Vinifera7 19:25, 20 December 2009 (UTC)