Does Unit::getOrder() even return Orders::Train in BWAPI ?

20 views
Skip to first unread message

MHesham

unread,
Dec 27, 2013, 5:13:55 AM12/27/13
to bw...@googlegroups.com
Hi there,

I was wondering why Unit::getOrder() never returns Orders::Train when a train command is issued to that unit .. is it by design or a bug?
I know that I can use Unit::IsTraining() and the Unit::getTrainingQueue.. but getOrder() should be consistent with all orders given to a unit. Am I missing something?

Regards,
Muhamad.
Reply all
Reply to author
Forward
0 new messages