Hi,
I have a line of code I can't quite suss out, details is an Int array, fsmVariableNames is an array of names corresponding to the FSM variables that are predefined on the game object.
Visual studio gives me the error: Cannot implicitly convert type 'HutongGames.PlayMaker.FsmInt' to 'Int'.
Do you happen to know how to solve this? Code is below, thank you!
for (int i = 0; i < numberOfDetails; i++)
{
newPlayMakerFSM = gameObject.GetComponent<PlayMakerFSM>();
details[i] = newPlayMakerFSM.FsmVariables.GetFsmInt(fsmVariableNames[i]);
}