Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: FritsLyn on July 04, 2014, 03:26:12 PM

Title: How is "Get EVent Info" supposed to work?
Post by: FritsLyn 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?!?
Title: Re: How is "Get EVent Info" supposed to work?
Post by: Alex Chouls 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?


Title: Re: How is "Get EVent Info" supposed to work?
Post by: FritsLyn 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!
Title: Re: How is "Get EVent Info" supposed to work?
Post by: Alex Chouls 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...? :)
Title: Re: How is "Get EVent Info" supposed to work?
Post by: jeanfabre 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