Author Topic: When setting variables, detect false and true as 0 and 1  (Read 1446 times)

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
When setting variables, detect false and true as 0 and 1
« on: January 29, 2020, 12:51:14 PM »
Will be cool to make boolean variables. All are numerical so will be awesome to be allowed to set them to true and false by changing it to number
« Last Edit: January 29, 2020, 12:51:25 PM by Antikore »
Sorry because my English is not very good because I'm Spanish ;) :P

War

  • "The top player is here!"
  • Level 20: Nobom
  • *
  • Posts: 1490
    • View Profile
    • My website
Re: When setting variables, detect false and true as 0 and 1
« Reply #1 on: January 29, 2020, 02:06:54 PM »
Will be cool to make boolean variables. All are numerical so will be awesome to be allowed to set them to true and false by changing it to number
Excellent idea!
Hey, wassup wassup? My name is Warrior555MainsGanon (but just call me War) and I'm the main guy behind Megaman Zero Online and the upcoming Matt's Adventure! I don't speak often here but I'm a very friendly lad so if you wanna talk, don't hesitate!

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: When setting variables, detect false and true as 0 and 1
« Reply #2 on: January 29, 2020, 03:04:43 PM »
This already exists.

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: When setting variables, detect false and true as 0 and 1
« Reply #3 on: February 04, 2020, 07:43:12 AM »
This already exists.
In custom variables nope
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: When setting variables, detect false and true as 0 and 1
« Reply #4 on: February 04, 2020, 03:10:30 PM »
I use it all the time!

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: When setting variables, detect false and true as 0 and 1
« Reply #5 on: February 06, 2020, 02:13:32 PM »
Yeah my fault. It works actually
Sorry because my English is not very good because I'm Spanish ;) :P