Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get status of bot's armor?
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).
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.
Thank you very much!
It should be described in the "object" type documentation.
[Image: XvN5CTW.png] [Image: UYXyyMS.png]

Forum Jump:

Users browsing this thread: 1 Guest(s)