Author Topic: HP Check  (Read 962 times)

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
HP Check
« on: July 08, 2020, 07:38:40 PM »
Is there any way to use a Command to check the HP value of an enemy/block etc.?

Also, I notice the enemies can ride on platformers moving horizontally but they fall through vertically moving platforms. I tried to fix it by reducing their Y position in their loop (to counter the gravity) but the result looked really bad.

Do enemies have a local gravity value that can be changed?

I notice some of the default enemies can fly but the Custom enemies seem to have very limited actions.
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam

TingThing

  • Admin and Developer
  • Level 20: Nobom
  • *
  • Posts: 1395
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: HP Check
« Reply #1 on: July 12, 2020, 01:19:59 PM »
There currently are not many commands which check the stats of enemies, items, etc. You could throw that in the pot of suggestions for me to sort through. If you only want to check the block HP for a single block, then you could do that work with your own custom variables. But if you want to do this for multiple blocks would you need to have separate variables for each block and that could get tedious.


Honestly, I wouldn't recommend trying to make enemies work on moving platforms because it will likely produce undesirable results. But if you really wanted to experiment some more, you can make flying custom enemies by clicking the button in the top-left corner which says "type = land."

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
Re: HP Check
« Reply #2 on: July 12, 2020, 04:33:01 PM »
Thanks. I tried your variable tip. I managed to get a helicopter to take damage then take more and go on fire.
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam