playMaker

Author Topic: How is "Get EVent Info" supposed to work?  (Read 2217 times)

FritsLyn

  • Full Member
  • ***
  • Posts: 191
How is "Get EVent Info" supposed to work?
« on: July 04, 2014, 03:26:12 PM »
https://hutonggames.fogbugz.com/default.asp?W530

Ok, it sounds nice.. but in reality, all the drop downs can only accept a variable, or the field 'none' - how is it supposed to work - in reality - when it's not possible to select anything?!?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: How is "Get EVent Info" supposed to work?
« Reply #1 on: July 04, 2014, 04:12:35 PM »
The action lets you access event data set by Set Event Data before the event was sent:
https://hutonggames.fogbugz.com/default.asp?W531

If you want to know who sent the event, store "Sent By GameObject" in a GameObject variable.

Does that make sense?



FritsLyn

  • Full Member
  • ***
  • Posts: 191
Re: How is "Get EVent Info" supposed to work?
« Reply #2 on: July 05, 2014, 01:35:31 PM »
Nope! :)

But anyway, I was looking for somehow to tap into the events send by NGUI that is not supported by PlayMaker (NGUI:OnDragOver) - and this is not how to do that then!

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: How is "Get EVent Info" supposed to work?
« Reply #3 on: July 05, 2014, 02:07:27 PM »
Not sure how else to explain it.

Set Event Data sets data before sending an event.
Get Event Info gets that event data (and other info, like who sent the event).

Maybe if you describe how you were expecting it to work...? :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How is "Get EVent Info" supposed to work?
« Reply #4 on: July 10, 2014, 08:45:29 AM »
Hi,

 Ngui event system and PlayMaker event are totally different, and you'll need to write a bridge between both to communicate, typically, you should inspire from the bridge provided on the playmaker wiki, this is likely the path to take ( the path I will take when I'll tackle it at least).

 Bye,

 Jean