Ideas

JustDadThings's avatar
JustDadThings
New Spectator
14 days ago

Portal: AI has unlimited ammo

Describe the Issue Clearly

AI seem to never run out of secondary ammo. Magazine ammo stays the same despite AI reloading. This is the case for both backfill and explicitly spawned AI soldiers.

Steps to Reproduce

Log AI ammo after each kill.

export async function OnPlayerEarnedKill(eventPlayer: mod.Player, eventOtherPlayer: mod.Player, eventDeathType: mod.DeathType, eventWeaponUnlock: mod.WeaponUnlock) {
  const ammo = mod.GetInventoryAmmo(eventPlayer, mod.InventorySlots.SecondaryWeapon);
  const magazineAmmo = mod.GetInventoryMagazineAmmo(eventPlayer, mod.InventorySlots.SecondaryWeapon);
  mod.DisplayNotificationMessage(mod.Message("ammo", eventPlayer, ammo, magazineAmmo));
}

Screenshots/Videos (if possible)

N/A

Information

Version 1.0.1.0 of the SDK.

P.S. Add a tag for portal-related issues.

No CommentsBe the first to comment

About Battlefield 6 Bug Reports

Report bugs and see what the Battlefield 6 community is saying on this forum.Latest Activity: 4 minutes ago