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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?