- Joined
- May 21, 2014
- Messages
- 580
Hello again, Hive.
I am planning to make a simple Shop System where items bought by a buyer will be automatically bought by other units surrounding the buyer with the corresponding costs.
I just don't know how to detect the unit that is targeted by the shop.
I also have a question of what is the proper way of doing this. Storing the buyer to a variable won't work, but there can be an instance where there are more than 1 players who are going to be in the shop, or one or more units of a player can go into different shops.
Thanks!
I am planning to make a simple Shop System where items bought by a buyer will be automatically bought by other units surrounding the buyer with the corresponding costs.
I just don't know how to detect the unit that is targeted by the shop.
I also have a question of what is the proper way of doing this. Storing the buyer to a variable won't work, but there can be an instance where there are more than 1 players who are going to be in the shop, or one or more units of a player can go into different shops.
Thanks!
