playMaker

Author Topic: Check if FSM has variable [SOLVED]  (Read 496 times)

Mupp

  • Junior Playmaker
  • **
  • Posts: 69
    • View Profile
Check if FSM has variable [SOLVED]
« on: January 20, 2019, 10:10:44 AM »
I want to do a check to see if a FSM has a certain variable. Then I want to send an event depending on if it does or doesn't. How can I do this?
« Last Edit: January 21, 2019, 12:04:39 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3645
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Check if FSM has variable
« Reply #1 on: January 20, 2019, 03:28:13 PM »
Hmmm, it looks like we don't have an action for this, but we probably should! I've attached an FSM Has Variable action. Please try it out. I'll include it in the next update.

Mupp

  • Junior Playmaker
  • **
  • Posts: 69
    • View Profile
Re: Check if FSM has variable
« Reply #2 on: January 21, 2019, 11:47:39 AM »
Perfect, thanks a lot.