playMaker

Author Topic: [solved] Broadcast Event/Get Event Info - Help!  (Read 3836 times)

Duffdaddy

  • Junior Playmaker
  • **
  • Posts: 54
[solved] Broadcast Event/Get Event Info - Help!
« on: April 25, 2011, 08:02:19 AM »
Howdy,
if I create an event for broadcast, does it have to contain anything? Like a value of some kind?
Or can it just be an empty event?.. or do I need to implement Set Event Data?

I ask as I'm having trouble implementing Get Event Info. I  might be misunderstand this, but, I've broadcast an empty event in one FSM. In another I've implemented Get Event Info.
But I don't even get the name of the FSM that sent it in the FSM Name dropdown. Should I?

If I do use Set Event Data in the first FSM, I don't get the data I sent, no FSM Name, no data... actually, all it can see in that drop down is a variable I've created in the current FSM.
« Last Edit: April 29, 2011, 05:47:02 AM by Duffdaddy »

Duffdaddy

  • Junior Playmaker
  • **
  • Posts: 54
Re: Broadcast Event/Get Event Info - Help!
« Reply #1 on: April 25, 2011, 07:36:22 PM »
BUMP
------
Any takers? This is driving me bonkers...

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Broadcast Event/Get Event Info - Help!
« Reply #2 on: April 25, 2011, 07:52:16 PM »
Use Get Event Info to store event data in variables that you can then use in other actions.

IOW, you're selecting variables in the dropdowns, and at runtime these variables will get set with event data.

Does that help?

 

Duffdaddy

  • Junior Playmaker
  • **
  • Posts: 54
Re: Broadcast Event/Get Event Info - Help!
« Reply #3 on: April 25, 2011, 08:55:45 PM »
yep, I think so. My misunderstanding. Will change how I've implemented it.

Duffdaddy

  • Junior Playmaker
  • **
  • Posts: 54
Re: Broadcast Event/Get Event Info - Help!
« Reply #4 on: April 29, 2011, 05:45:31 AM »
You can mark this as solved Alex.
--EDIT--
Doh, I can do it myself!
« Last Edit: April 29, 2011, 05:47:59 AM by Duffdaddy »