boxShow Reserve Mag (ANS_TFA_ShowReserveMag)

Shows a reserve magazine prop during a time window.

Asset path: /Game/InfimaGames/TacticalFPSAnimations/Common/Core/Animation/ANS_TFA_ShowReserveMag

ANS_TFA_ShowReserveMag is the notify state that reveals the reserve magazine prop during reload windows. It is often used alongside main-mag visibility changes and drop-magazine timing so the reload sequence reads cleanly from start to finish.


Quick Navigation



Purpose


This state is usually paired with:

  • Hiding the weapon’s main magazine

  • Dropping or spawning magazines at specific reload frames


Owner Requirement


This notify state only works when the active animation is playing on a mesh owned by BP_TFA_BaseWeapon.


Notify State Blueprint Flow


This notify state is implemented through Received_NotifyBegin and Received_NotifyEnd, and it only works when the animation is playing on a mesh owned by BP_TFA_BaseWeapon.

Begin

  1. MeshComp.GetOwner()

  2. Cast to BP_TFA_BaseWeapon

  3. Call SetMagazineVisibility(bVisible = true, bIsReserve = true)

  4. Return false

End

  1. MeshComp.GetOwner()

  2. Cast to BP_TFA_BaseWeapon

  3. Call SetMagazineVisibility(bVisible = false, bIsReserve = true)

  4. Return false

If the cast fails, nothing happens.

Readable Blueprint Flow


Parameters and Behavior


This notify state has no exposed parameters. It always targets the reserve magazine, which means bIsReserve is always true.

circle-info

This state does not spawn a reserve magazine. The reserve prop is already spawned by the weapon on BeginPlay, and this state only toggles its visibility.

circle-info

The reserve magazine is typically attached to CurrentConfig.SocketMagazineReserveAttachment. See Base Config (BP_TFA_BaseConfig) for the related socket fields.


Placement Tips


  • Start the window when the off-hand reaches for the reserve magazine

  • End the window when that reserve magazine is no longer needed visually


Troubleshooting


  • Nothing happens

    • The montage is playing on a mesh that is not owned by BP_TFA_BaseWeapon

  • The reserve magazine never hides

    • Make sure every valid montage path reaches NotifyEnd



Last updated

Was this helpful?