Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: cybervaldez on January 01, 2015, 05:46:09 AM

Title: Send Event based on a Get Event Property value?
Post by: cybervaldez 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.
Title: Re: Send Event based on a Get Event Property value?
Post by: jeanfabre 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