Hello,
I noticed a few serious bugs with the Playmaker variable.
1.Any AC global variable linked to playmaker global variable, does not update in AC Variable Manager when changing values through playmaker..
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Ignoring the Variables Manager for the moment, is it correct when using the Variable: Check Action to read it?
Yes it is correct even tho its not updating.
I tried them both, checked and unchecked, but when I restart the game it still wont reset to the original value.
As intended, in that case. The linking system works by updating the AC variable upon request, to ensure that the link is able to work two-ways.
It will need to be unchecked, because AC won't know what the initial value is otherwise. I cannot reproduce this issue with it unchecked, however - can you share steps on how to do so from a fresh AC/PM project?
So, just to get this right, it will not update when changing the value through Playmaker, but has to be changed through AC in order to be updated? In that case, isn't there a way to make it update thtough Playmaker?
I started a fresh project and I can't seem to recreate the issue, even tho I followed the same steps... In that case, this may be a problem from my project.. I'll try to figure out what the issue is.
AC will transfer the value from Playmaker when its value is requested internally. You can force its value to be transferred, however, with the line:
The "true" parameter here is used to synchronise its with its PM-linked counterpart.
If necessary, you could place such code in a custom script's public function, and then trigger that function with a send-message command from Playmaker.