call IssueNeutralImmediateOrderById(player_to_buy, shop_unit, id_of_unit_or_item_to_buy)
Example:
call IssueNeutralImmediateOrderById(Player(0), tavern_unit, 'Nngs')
This buys a sea witch at the tavern for player 0. Of course a unit of the player has to stand nearby for this to work. |