On 18.07.2014, at 13:14, Tibor Bamhor <[email protected]> wrote:

> Hi,
> 
> I need to get a flag (or its coordinates) belonging to a headquarters on the 
> very beginning of game.
> 
> How should I do it?

In Lua?
p1 = wl.Game().players[1]
hq =  p1:get_buildings("headquarters")[1]
print(hq.flag)

> Is it a headquarter a member of productionsites and type WAREHOUSE? 

not a productionsite, but a warehouse.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to