playMaker

Author Topic: (Scripting) Is there a way to determine if a variable is "None?"  (Read 1530 times)

Red

  • Hero Member
  • *****
  • Posts: 563
Mainly asking since I'm working on a script and I'd like to see if I can determine if a variable is set to "none" so as to set up some cases for the functionality I want to put together.

... P.s. I wish I hadn't been so intimidated by coding. This actually isn't as hard as I thought it'd be.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: (Scripting) Is there a way to determine if a variable is "None?"
« Reply #1 on: March 30, 2015, 02:12:03 AM »
Hi,

 Each FsmXXX variable have a .IsNone property. this is how you find out.

 Bye,

 Jean