Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: wheretheidivides on May 14, 2014, 08:25:33 PM

Title: set bool value[SOLVED]
Post by: wheretheidivides on May 14, 2014, 08:25:33 PM
easy one for 1st post.

I wanted to set a bool to false or true.  I used 'set bool value'.  I put in variable for 'bool variable' and it shows true.  Then under bool value I can only put in same variable which also shows true.  The thing is they are greyed out.  How do I set the variable to false?
Title: Re: set bool value
Post by: Lane on May 14, 2014, 08:29:53 PM
The little grey box next to the variables in the Action Stack will let you change the input type to a checkbox.
Title: Re: set bool value
Post by: wheretheidivides on May 14, 2014, 08:39:24 PM
I just want to do something like this.  It starts out as true and I just want to set it to false.  This should be an easy one for you all.  I did read the instructions, but they are a bit lacking at specifics like this.

myvariable = false;
============================
I get it now.  The check box 'bool value' is for true or false.  You all should update this text to say 'Check=true, Not Checked=false' instead of 'Bool Value'.  it'd make a lot more sense.

and on this page

https://hutonggames.fogbugz.com/default.asp?W88
Bool Value: Value to set it to.

should become
Bool Value: Check this to set for true.  Uncheck to set for false.