Detecting AI errors
Posted: 30 Sep 2005, 19:08
For ex. : when GiveOrder() to a builder is issued, he starts moving, but when he get's to a place- it's occupied (and "buildpos occupied" message is given),
or bldr is given order to guard or repair another unit and that unit gets destroyed b4 the builder gets there and situations like that:
The question: is AI able to detect when an order fails (Do you know in what situations GiveOrder returns -1, would it return -1 in the situations above?), and is it able get the error message?
Are there any good and easy ways to detect when order fails or do you always have to arrange it manually by checking all your units or smth.?
Thanks,
Alik
or bldr is given order to guard or repair another unit and that unit gets destroyed b4 the builder gets there and situations like that:
The question: is AI able to detect when an order fails (Do you know in what situations GiveOrder returns -1, would it return -1 in the situations above?), and is it able get the error message?
Are there any good and easy ways to detect when order fails or do you always have to arrange it manually by checking all your units or smth.?
Thanks,
Alik