Talk:IsPlayerActionActive

There are no discussions on this page.

Number 13 (SHOUT) can be used to detect if player is shouting, but has a certain issue: magic effect with this condition (if IsPlayerActionActive == 13) succesfully triggers, and always send OnEffectStart; the problem is, when you try to catch the "shouted" spell with OnSpellCast in the same script, one-word shout almost always fails to trigger OnSpellCast, two-word shout sometimes fails, and only full shout always triggers OnSpellCast.

My guess the problem here is timing. It looks like this function uses 'IsShouting' graph variable check, and animation of one- and two-word shout is too short for the script to catch the OnSpellCast event. Btw, using GetGraphVariableInt with 'IsShouting' check instead has the same problem. --Ingvion (talk) 08:57, 12 July 2023 (EDT)

Return to "IsPlayerActionActive" page.