Colobot Forum - International Colobot Community
How to get status of bot's armor? - Printable Version

+- Colobot Forum - International Colobot Community (https://colobot.info/forum)
+-- Forum: [Archive] New forum (2015-2019) (https://colobot.info/forum/forumdisplay.php?fid=76)
+--- Forum: Colobot: Gold Edition Basics (https://colobot.info/forum/forumdisplay.php?fid=58)
+---- Forum: General (https://colobot.info/forum/forumdisplay.php?fid=59)
+---- Thread: How to get status of bot's armor? (/showthread.php?tid=741)



How to get status of bot's armor? - Rinoldo - 03-17-2016

Hi everyone, I'm new in CBOT. Now I play mission where I need to kill ants. And it's turned out that it's necessary to get status of bot's armor. Couldn't find in the help (F2).


RE: How to get status of bot's armor? - melex750 - 03-17-2016

shieldLevel or this.shieldLevel < 1.0 means the bot is damaged. The bot is destroyed near/at 0.0.
Running the program while in the editor (arrow button), will show a list of bot's status variables and their values,
as well as any other variables active in the program at that time.


RE: How to get status of bot's armor? - Rinoldo - 03-17-2016

Thank you very much!


RE: How to get status of bot's armor? - Simbax - 03-17-2016

It should be described in the "object" type documentation.