Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: hunz on June 15, 2016, 12:46:14 AM
-
Hey,
We have a database method we need to call which takes an int parameter and returns and array of ints.
public int[] GetResult(int index)
{
...
return result;
}
At the moment we are getting an error in playmakers CallMethod object saying "result is the wrong type. it should be of type :System.Int32[]"
The array in playmaker is set to be an INT array.
Any help would be great.
Hans. :o
-
Oh, We are using 1.8.1 and we tried changing the return type to
public HutongGames.PlayMaker.FsmArray GetResult(int index)
{
...
return result;
}
Attached is the results from that.
-
This will be fixed in 1.8.2. Sorry for the inconvenience!
If you would like to test the 1.8.2 beta, please email me with:
- Your Playmaker invoice number
- A google/gmail address to send the beta group invite to
Thanks!
Alex
-
Amazing. I'll send that over right away. Appreciate it!
-
This problem was solved with 1.8.2. Just if anyone else needed to know.