dragonmalice 0 Posted March 3, 2024 I've been going in circles with saving the amount of vehicle ammo remaining and reloading it later. The syntax in the wiki for addMagazineTurret is wrong if you want to specify a round count. The turret path should be in brackets, BUT THE AMMO COUNT SHOULD NOT. Shown: _tank addMagazineTurret ["SmokeLauncherMag", [0,0]]; Corrected: _tank addMagazineTurret ["SmokeLauncherMag", [0], 0]; It apparently takes an act of God to post a note there, so hopefully someone here can update it and save the next guy a couple hours 🙂 Share this post Link to post Share on other sites
Larrow 2828 Posted March 3, 2024 34 minutes ago, dragonmalice said: Shown: _tank addMagazineTurret ["SmokeLauncherMag", [0,0]]; That example is correct, add the magazine "SmokeLauncherMag" to the turret at path [0,0]. AmmoCount was a later edition to the command after those examples were written, as such neither example shows using ammoCount. Share this post Link to post Share on other sites
dragonmalice 0 Posted March 3, 2024 Yeah, forgot about those turrets on turrets... was wondering why they chose to reload an empty mag in the example. Hence the act of God requirement 🙂 Still, might be nice to have a third example or note there. The way my brain files (ok, deletes) things, I may end up staring at it in confusion again in a year. Share this post Link to post Share on other sites
Larrow 2828 Posted March 3, 2024 7 minutes ago, dragonmalice said: Still, might be nice to have a third example or note there. Done Share this post Link to post Share on other sites