playMaker

Author Topic: Send Event based on a Get Event Property value?  (Read 1482 times)

cybervaldez

  • Playmaker Newbie
  • *
  • Posts: 7
Send Event based on a Get Event Property value?
« on: January 01, 2015, 05:46:09 AM »
So, i'm passing an event property from GO1 to GO2.

GameObject 1:
1. Set Event Properties
2. Send Event to GameObject 2

GameObject 2:
What I need is a logic that does a "Compare an Event Property value and send an event based on it"

Edit: I know a workaround is to store to a variable first after getting the property and then adding a compare logic but maybe there is something more elegant since I don't want to use a temporary variable.
« Last Edit: January 01, 2015, 08:23:28 AM by cybervaldez »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Send Event based on a Get Event Property value?
« Reply #1 on: March 03, 2015, 12:36:24 AM »
Hi,

 There isn't another way unfortunatly. I guess you could request an improvement in the generic way of accessing data to point to the last event data, that would work but that means a built in update of the core system of PlayMaker so that it becomes available on all actions

Bye,

 Jean