Author Topic: Conditional to check if the player is dead  (Read 1608 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
Conditional to check if the player is dead
« on: May 04, 2019, 12:27:30 PM »
Maybe this seems useless, but I know multiple ways this can be useful. For example, when the player dies, sometimes there are things in the area that still are active and can do stuff that the builder doesn't want to. So, this will be useful in that case :)
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: Conditional to check if the player is dead
« Reply #1 on: May 04, 2019, 03:19:42 PM »
Good suggestion.

TingThing

  • Admin and Developer
  • Level 20: Nobom
  • *
  • Posts: 1395
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: Conditional to check if the player is dead
« Reply #2 on: June 18, 2019, 04:38:44 PM »
You can probably do a lot in the death character command prompt with this. If nothing else, make the death activate a variable, and then you can use that in other command prompts as well.
« Last Edit: June 18, 2019, 04:39:23 PM by TingThing »