Reply To: Can\'t Sync Variables with Playmaker.Please help.

NodeCanvas Forums Support Can\'t Sync Variables with Playmaker.Please help. Reply To: Can\'t Sync Variables with Playmaker.Please help.

#11914
Gavalakis
Keymaster

Hello,

The “Sync Variables” feature of the Playmaker integration, will not create new variables in the PM FSM, but rather sync existing PM variables only, which have the same name and type as the NodeCanvas ones.. This is because playmaker does not support all type of variables like NodeCanvas does, but rather only a specific set of types.

So, what you need to do here, is to pre-create variables in your PM FSM, that have the same name and type as the ones in NodeCanvas. Thus for example you will need to create a PM variable named “TestInt” and of type Integer, another one named “TestVect” and of type Vector3 and so on.

After this is done and in play mode, once the Start Playmaker FSM node is called, the Sync Variables feature, will copy the NodeCanvas variable values, to the PM FSM variables. (once again, as long as they have the same name and be the same type).

Let me know if that works for you.
Thanks.

Join us on Discord: https://discord.gg/97q2Rjh