Hi!
Please help with a problem with "Send message":
My task is to animate color parameter at custom outline component. So I'm using custom C# script, which contains custom method to set an outline color (parameter).
In my FSM I've got state with three PlayMaker operators:
1. Animate Color
which change value of local FSM variable 'Color' from red to green in 2 seconds
2. Send message
which sends current value of 'Color' variable to custom C# script (and here is the problem)
3. Wait
waiting 2 seconds to complete animation of 'Color' variable
so the problem is that 'Send message' doesn't get current value of 'Color' variable ( it updates color value only if manually reselect variable from dropdown list of local variables ). For example: if initial value of 'Color' was red, it stays red all the time, even if color of 'Color' variable already changed in FSM variables window from red to green. So the result is that color of outline parameter changing once, instead of smooth animation.
Am I doing something wrong or is there some problems with 'send message'? It's a bit strange that I need to reselect variable from dropdown list, to update the color value inside 'Send message'. With float type it updates fine without manual operations.
Thanx!