playMaker

Author Topic: Send Event If Bool  (Read 3887 times)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Send Event If Bool
« 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.
Also cleaned up a warning and restructured the Delayed Event.
« Last Edit: July 15, 2014, 03:01:35 PM by Lane »
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Send Event If Bool
« Reply #1 on: May 19, 2014, 09:28:54 PM »
 ;D Thx HEAPS!
« Last Edit: May 19, 2014, 09:32:13 PM by LampRabbit »

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Send Event If Bool
« Reply #2 on: May 19, 2014, 10:59:18 PM »
Line 56 should be -

if (boolVariable.Value == testBool.Value)
« Last Edit: May 19, 2014, 11:01:38 PM by LampRabbit »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Send Event If Bool
« Reply #3 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 =)
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D