Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on November 10, 2015, 11:42:09 AM

Title: GetEventSender action for optimized action height
Post by: jeanfabre on November 10, 2015, 11:42:09 AM
Hi,

 Just a quick action I wanted to share to minimize the height of the GetEventInfo when you only need to know the sender. this way you don't end up with half the state stack with this action :)

(https://pbs.twimg.com/media/CTdtIhcUYAA_G_v.png)

Available on the Ecosystem (http://j.mp/1Esn1mF) or below

GetEventSender (https://raw.githubusercontent.com/jeanfabre/PlayMakerCustomActions_U3/master/Assets/PlayMaker%20Custom%20Actions/StateMachine/GetEventSender.cs)

 Bye,

 Jean
Title: Re: GetEventSender action for optimized action height
Post by: KellyRay on November 10, 2015, 12:29:41 PM
Excellent! Thanks Jean.
Title: Re: GetEventSender action for optimized action height
Post by: 600 on November 10, 2015, 03:32:26 PM
This is great, thanks!

Does those other slots in the GetEventInfo take some performance or just skip them if None?
Just a thought about having a similar action just for strings, would be very useful for incoming Photon RPCs or is it more visual difference?
Title: Re: GetEventSender action for optimized action height
Post by: jeanfabre on November 11, 2015, 01:23:25 AM
Hi,

 It's purely visual, nothin else. It's just that I am working more and more with custom event data, and many time I only need to get the event sender.

Bye,

 Jean