playMaker

Author Topic: set bool value[SOLVED]  (Read 4439 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
set bool value[SOLVED]
« 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?
« Last Edit: May 20, 2014, 10:05:36 AM by jeanfabre »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: set bool value
« Reply #1 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.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: set bool value
« Reply #2 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.
« Last Edit: May 14, 2014, 09:18:03 PM by wheretheidivides »