playMaker

Author Topic: GetEventSender action for optimized action height  (Read 2386 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
GetEventSender action for optimized action height
« 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 :)



Available on the Ecosystem or below

GetEventSender

 Bye,

 Jean

KellyRay

  • Full Member
  • ***
  • Posts: 170
Re: GetEventSender action for optimized action height
« Reply #1 on: November 10, 2015, 12:29:41 PM »
Excellent! Thanks Jean.

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: GetEventSender action for optimized action height
« Reply #2 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: GetEventSender action for optimized action height
« Reply #3 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