my unit has ammo in his weapon. The Counter and the ammo pick up, everything works fine.
(starting with 100 ammo, can pick up ammo so its back to 100).
But here is the Problem:
When my unit use a upgrade which gives
+ 50 max ammo
Then the counter shows it correct (150 after reload)
But he only shoot 100 bullets and not 50.
so the Counter stops at 50 at wont shoot anymore.
Is the ammo actually in the Data section? Or do you have an Integer variable holding the ammo amount that's checking to see if he can continue to shoot?...
The Ammo is in the Data Section -i use an ability. (max ammo :100 - start ammo: 100 - cost: 1)
Via Trigger i fill up ammo again.
the upgrade just do + 50 max ammo +50 start ammo.
after upgrade i fill up ammo again by trigger -> -999 ammo. Then the ammo shows correct "150"
but the unit only shoot 100 bullets and stuck at 50. its pretty weird. T_T
Hey Guys,
im not sure if this is a trigger or data problem.
my unit has ammo in his weapon. The Counter and the ammo pick up, everything works fine. (starting with 100 ammo, can pick up ammo so its back to 100).
But here is the Problem:
When my unit use a upgrade which gives + 50 max ammo
Then the counter shows it correct (150 after reload) But he only shoot 100 bullets and not 50. so the Counter stops at 50 at wont shoot anymore.
anyone know this kind of problem?
Thx for your time guys!
Is the ammo actually in the Data section? Or do you have an Integer variable holding the ammo amount that's checking to see if he can continue to shoot?...
@gerudobombshell: Go
The Ammo is in the Data Section -i use an ability. (max ammo :100 - start ammo: 100 - cost: 1) Via Trigger i fill up ammo again.
the upgrade just do + 50 max ammo +50 start ammo.
after upgrade i fill up ammo again by trigger -> -999 ammo. Then the ammo shows correct "150" but the unit only shoot 100 bullets and stuck at 50. its pretty weird. T_T
thank you for your time gerudobombshell :)
@chapter1: Go
Ok i guess i figured it out:
i guess i need to increase the "weapon cost" too, not only the ability cost... i am an idiot :D lets see if it works...
@chapter1: Go
Yeap... i solve the Problem. i diddnt change the weapon ammo amount in the upgrade.