Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: Lane on May 19, 2014, 08:50:40 PM

Title: Send Event If Bool
Post by: Lane on May 19, 2014, 08:50:40 PM
Ref Thread:
http://hutonggames.com/playmakerforum/index.php?topic=7355.0

Depending on the status of a bool variable fire some event to any GameObject Fsm.

Feedback/revision welcome.

Update 15Jul2014: This action has been cloned in Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181).
Also cleaned up a warning and restructured the Delayed Event.
Title: Re: Send Event If Bool
Post by: escpodgames on May 19, 2014, 09:28:54 PM
 ;D Thx HEAPS!
Title: Re: Send Event If Bool
Post by: escpodgames on May 19, 2014, 10:59:18 PM
Line 56 should be -

if (boolVariable.Value == testBool.Value)
Title: Re: Send Event If Bool
Post by: Lane on May 20, 2014, 10:39:08 AM
I believe you're right, I didn't use a debuglog to test if the enter was firing versus the update so I missed that. Thanks =)