Suggestion: PlayMaker Set Variable "wait to confirm" option
Posted: Sun Nov 21, 2021 1:35 pm
Hi there Tony,
Using PlayMaker I've observed that the Set Variable action takes a while until the new variable value is actually written in the DS database.
Certainly more than one frame, so that could end up in designing faulty logic if you're not careful to wait the necessary time to check on the variable again.
I'm dealing with that problem with my own FSM template that I run instead of the raw action. It makes sure the variable value is set before continuing. All good.
But I was thinking that maybe it would be a good idea to implement a "Wait until written" option in the action itself? It would make the whole thing a bit cleaner, I guess.
Just my two cents. Thanks!
Using PlayMaker I've observed that the Set Variable action takes a while until the new variable value is actually written in the DS database.
Certainly more than one frame, so that could end up in designing faulty logic if you're not careful to wait the necessary time to check on the variable again.
I'm dealing with that problem with my own FSM template that I run instead of the raw action. It makes sure the variable value is set before continuing. All good.
But I was thinking that maybe it would be a good idea to implement a "Wait until written" option in the action itself? It would make the whole thing a bit cleaner, I guess.
Just my two cents. Thanks!