Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: maconbot on September 07, 2012, 11:12:19 PM
-
I am trying to set a FsmFloat the same way I set a Fsm String and it won't let me says:
The best overloaded method match for `HutongGames.PlayMaker.Fsm.Event(string)' has some invalid arguments
I have tried many combinations, ultimately this seemed the closest:
FsmFloat f1 = character.FsmVariables.GetFsmFloat("delay").Value;
FsmFloat f2 = character.FsmVariables.GetFsmFloat("zero").Value;
f1.Value = f2.Value
...it does nothing. Thank you for your time.
-
Hi,
your error is in how to treat the FsmFloat to set it:
FsmFloat f1 =
you need to do it this way:
FsmFloat f1 = character.FsmVariables.GetFsmFloat("delay");
FsmFloat f2 = character.FsmVariables.GetFsmFloat("zero");
f1.Value = f2.Value
bye,
Jean