playMaker

Author Topic: FSM variable to script and vice versa, including PlayMaker UI  (Read 1406 times)

TifaOng

  • Playmaker Newbie
  • *
  • Posts: 10
FSM variable to script and vice versa, including PlayMaker UI
« on: January 08, 2014, 04:46:36 AM »
I looked into how to transfer script variable to FSM,
wwwPlayer.FsmVariables.GetFsmString ("strCat"). Value = words
  • ;

But where do I get this fsm variable? And which object has this fsm variable? How does the PlayMaker UI look like? Like Send Message?

But how to transfer from FSM to script?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: FSM variable to script and vice versa, including PlayMaker UI
« Reply #1 on: January 24, 2014, 07:26:05 AM »
Hi,

 wwwPlayer is your reference, that's your fsm that somewhere else in the script set it as the source for getting one of its fsm variables.

 There is no UI for this, this is an api call, what context are you in? is it in a PlayMaker Action of in a regular script?

Bye,

 Jean