Forum Discussion

SliverLIVE's avatar
4 years ago

Action "IsFiring" or "IsThrowing"

Hi,

is there any way to detect this behaviors?

You can disable Inputs but not detect them...

3 Replies

  • Ok found something:

    GetPlayerState :         EventPlayer              PlayerStateBool: Is Firing

    In case anyone else need it. 🙂

    "Is Throwing" can be useful to add to PlayerStateBool.   

  • piri89's avatar
    piri89
    4 years ago

    @SliverLIVEWell, isThrowing is basically the same as isFiring I guess. You can also check for the currently chosen inventory item (Player -> IsInventorySlotActive), so your operation would only be executed if the player is firing and has a grenade selected.

    I didn't test it, but from the logic itself it should work. Example:

  • Hi Piri89,

    that's exactly what i did yesterday.

    But thx for sharing it.

About Battlefield 2042 General Discussion

Discuss the latest news and game information around Battlefield 2042 in the community forums.16,186 PostsLatest Activity: 5 hours ago