This is more of a general question about shops, but ultimately I need multiple people to be around a shop of whatever type and able to buy items.
I have an "interact" ability that I gave my shop which lets any player come up and use it, but the problem is whenever you try to buy something, It says "cannot spend another players resources"...
I've also thought of making it when a player clicks the shop he gains control of the building, so then it will let him buy the items or tomes, but then multiple players have to take turns and that's just lame, especially if someone doesn't understand the system and just keeps clicking, making other people not be able to use it..
Anyone know of an efficient way of interacting with a shop? Or just a quick fix to my "cannot spend another players resources"?
Make sure your shop isn't allied to the buying player, otherwise using a shops commands will make it try to use the shops own resources, which dont belong to the player. Either you have to enable shared resource spending (Which might not be a good idea if there is a way for the neutral player to get resources) or make the shop owner neutral.
there should be a Share Control flag in the unit flags field that if ticked on causes the shop to spend the activating players resources, not sure if it can be used by many players at once though.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
This is more of a general question about shops, but ultimately I need multiple people to be around a shop of whatever type and able to buy items.
I have an "interact" ability that I gave my shop which lets any player come up and use it, but the problem is whenever you try to buy something, It says "cannot spend another players resources"...
I've also thought of making it when a player clicks the shop he gains control of the building, so then it will let him buy the items or tomes, but then multiple players have to take turns and that's just lame, especially if someone doesn't understand the system and just keeps clicking, making other people not be able to use it..
Anyone know of an efficient way of interacting with a shop? Or just a quick fix to my "cannot spend another players resources"?
It should be possible to buy from neutral shops but you could always use this method of ownership changing.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Make sure your shop isn't allied to the buying player, otherwise using a shops commands will make it try to use the shops own resources, which dont belong to the player. Either you have to enable shared resource spending (Which might not be a good idea if there is a way for the neutral player to get resources) or make the shop owner neutral.
there should be a Share Control flag in the unit flags field that if ticked on causes the shop to spend the activating players resources, not sure if it can be used by many players at once though.