Closed mikeploythai closed 11 months ago
SET_STATE_FLAG replicates how the game sets these flags itself, via calling the set
function of the csl::ut::Bitset<uint64_t>
(BitSet64
in HMMCodes) variable type on app::player::BlackboardStatus
with the flag we want to set.
This is to say, that this issue is not really a problem with the HMMCodes BlackboardStatus.hmm
library, and thus, its not really a HMMCodes issue.
Thanks for the clarification! If I ever decide to join the HMM server, I'll probably ask about the specific flag for the blur, if it exists. For now, I'll just refactor the solution to increase the boost consumption time while grinding rather than setting the boost flag on and off 👍
Was playing around with the
SET_STATE_FLAG
method. I noticed that onceIsBoost
is set to false, it will disable the boost state, but doesn't disable the motion blur while moving, whether that's on the ground, on a rail, airborne, etc. The only way to disable to filter is to do something that invokes the filter in the first place (ex. doing a spin boost will remove the blur once it's exited)Context for snippet - Let the player boost for up to 500ms if they're rail grinding
Janky counter library I made if you want to test the snippet above on your end w/o errors