PDA

View Full Version : How to check for inoperable tanks



Lexx
Jun 5 2012, 10:12
Normally, I am using "this and ! alive unitname" to check if a soldier isn't alive anymore, but now I noticed that this doesn't really work with Iron Front tanks- as a tank is only dead if he totally exploded (which doesn't happen that often in IF). My question is, what else should I use to see if a tank is inoperable? I.e. crew exit or is dead or the tank can't fire anymore, etc. Anyone can help me with that?

Li0n
Jun 5 2012, 10:57
try "locked", "canMove", "canFire"

NeoArmageddon
Jun 5 2012, 11:15
If I remember correctly, there is a special command to query the status of a tank but I can't remeber the specific command and sytax. Maybe it will show up in the IF wiki in the near future: http://wiki.iron-front.com/index.php/Main_Page