#string does not become empty

1 messages · Page 1 of 1 (latest)

limber stump
#

ok!

tepid tartan
#

especially where/when you call ChangeComboWindowForTimer

#

show the script that calls that

limber stump
#

Of course!

    public void AttackState(string value)
    {
        combo.ChangeComboWindowForTimer(combo.currentWeapon.comboSequenceResetTimer, value);
        ChangeState(attackState);
    }

also this

playerInput.AttackInput += AttackState;

also this

public event Action<string> AttackInput;

and finally this

    public void OnPrimaryAttackInput(InputAction.CallbackContext context)
    {
        if (context.performed) AttackInput.Invoke("1");


    }
tepid tartan
#

can you show this full script

#

it's hard to piece together random snippets without knowing how they are related

limber stump
#

Oh well, look how are a dumb-ster again
I'm not unsubbing

#

aaaaaa

tepid tartan
#

my guess is that you are probably doing playerInput.AttackInput += AttackState; multiple times

#

yeah

#

exactly

limber stump
#

I'm sorry for wasting your time