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

Talk:InitialAmmo

From ModEnc
Revision as of 19:25, 20 December 2009 by Vinifera7 (talk | contribs) (Okay, I'm wrong.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Vinifera7:
 
 
InitialAmmo=-2 results in the unit being created with an empty ammo supply.
 
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)