playMaker

Author Topic: Bool All False & Bool Any False[SOLVED]  (Read 4421 times)

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Bool All False & Bool Any False[SOLVED]
« on: April 24, 2013, 08:15:38 PM »
I know with bool's this can be achieved without these actions but it would be convenient to be able to use a multicondition All True and then conversely use Any False (theoretical weak link has broken kind of thing) instead of testing each bool with an individual action.

All False would be useful for less, but still handy if you are doing any kind of puzzle mechanism that is solvable backwards and relying on bools, it is sometimes necessary to see if they are all OFF at some point after they are all ON and once again to do so without having to create individual actions for each one.
« Last Edit: May 14, 2013, 03:34:30 AM by jeanfabre »
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Bool All False & Bool Any False
« Reply #1 on: May 13, 2013, 06:18:06 AM »
Hi,

 I use this all the time, the trick is the following:

 to achieve "Bool Any False", have one state with the following

-- Bool All true sending event "ALL TRUE"
-- Send Event "ANY FALSE"

Does that make sense? if the action "Bool All true" did not fire the event, then it means one was false at least, so the next action will be perform and you send an event "ANY FALSE"

bye,

 Jean

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Bool All False & Bool Any False
« Reply #2 on: May 13, 2013, 07:03:20 AM »
Derrr, thats a good idea. Dunno why I didn't think of that.


Thanks
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D