Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: PleaseHelpMe on August 16, 2018, 10:35:20 PM

Title: New to Playmaker. What is an Object in Array>Object>[Object Type]?
Post by: PleaseHelpMe on August 16, 2018, 10:35:20 PM
Hello, I am trying to call the API 'GetUserData" from PlayFab using a pre-made PlayFab to PlayMaker script. The action requires an Array>Object>"UserDataRecord".

The script is as follows:
[ArrayEditor(typeof(JrDevAssets.ClientModels.UserDataRecord))]
public FsmArray Data_Values;

The attached image will show the State and the Variable needed an Object with Object Type "User Data Record". I do not know what an Object is or how to create one. Googling has not helped me thus far.

Thank you.
Title: Re: New to Playmaker. What is an Object in Array>Object>[Object Type]?
Post by: djaydino on August 17, 2018, 12:39:23 AM
Hi.
It might be a component/script

Is that "pre-made PlayFab to PlayMaker" script included with Playfab

or did you get it here on the forum or somewhere else?
Title: Re: New to Playmaker. What is an Object in Array>Object>[Object Type]?
Post by: nFighter on August 17, 2018, 08:12:56 AM
Check your other PlayMaker actions for PlayFab. There are special actions that can separate this Object to Strings.
(at least that's how P-VUE action works)
Title: Re: New to Playmaker. What is an Object in Array>Object>[Object Type]?
Post by: nFighter on August 17, 2018, 08:14:21 AM
Check this topic for details, maybe it will help also

http://hutonggames.com/playmakerforum/index.php?topic=18645.0