playMaker

Author Topic: Twitter?  (Read 15201 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Twitter?
« Reply #45 on: May 06, 2016, 01:58:54 AM »
Hi,

 Ok, can you send me a package with a sample scene showing your setup, I think there may be something I am overlooking that is the key to make your system work.

Bye,

 Jean

laynardo

  • Junior Playmaker
  • **
  • Posts: 54
Re: Twitter?
« Reply #46 on: May 06, 2016, 10:45:53 AM »
Here you go. I assume it's something simple I am missing.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Twitter?
« Reply #47 on: May 20, 2016, 02:30:50 AM »
Hi,

 It's odd, your package scene is totally empty. what version of Unity are you using?

Bye,

 Jean

laynardo

  • Junior Playmaker
  • **
  • Posts: 54
Re: Twitter?
« Reply #48 on: May 20, 2016, 03:26:24 PM »
weird. i just downloaded it form here and tested it. it imports the scene into folder called _Scenes if that helps.

There won't be anything in the Scene/Game window but some canvas text, since all we are testing is twitter.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Twitter?
« Reply #49 on: May 21, 2016, 03:46:22 AM »
Hi,

 What version of Unity did you packaged with?

Bye,

 Jean

laynardo

  • Junior Playmaker
  • **
  • Posts: 54
Re: Twitter?
« Reply #50 on: May 21, 2016, 11:22:08 AM »
5.3.4f1

laynardo

  • Junior Playmaker
  • **
  • Posts: 54
Re: Twitter?
« Reply #51 on: May 22, 2016, 10:27:52 PM »
any luck?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Twitter?
« Reply #52 on: May 23, 2016, 03:45:21 AM »
Hi,

Yep, It's because you need to use the "Reset" property of the "Xml Get Next Node List Properties" action.

 So before you enter the state "Get node properties" you raise a "Reset" FsmBool to true, and inject that into the "Xml Get Next Node List Properties" so that it knows you want to start from scratch again.

 and then you'll be looping properly on your new results, not just the original one.

 Bye,

 Jean

laynardo

  • Junior Playmaker
  • **
  • Posts: 54
Re: Twitter?
« Reply #53 on: June 07, 2016, 10:23:20 PM »
so I did a Set Bool Value, in the Select Node state. And created a variable called "resetTweets". And I call the variable in the Get Node Properties state under  Xml Get Next Node List Properties action. But for some reason the Xml Get Next Node List Properties keeps setting the variable to False.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Twitter?
« Reply #54 on: June 08, 2016, 01:54:45 AM »
Hi,

 In my tests it worked. Have you reference "resetTweets" in the XmlGetNextNodeList action? you should raise it to false before entering the state, and then the action will set it to false, so verify that your "resetTweets" is true before entering and false straight after having been dealt by XmlGetNextNodeList

Bye,

 Jean

laynardo

  • Junior Playmaker
  • **
  • Posts: 54
Re: Twitter?
« Reply #55 on: June 08, 2016, 11:06:17 AM »
hmm. maybe it's something else that is conflicting with my FSM working right. I attached my updated one.