- Joined
- Feb 13, 2020
- Messages
- 22
Hi everyone,
I’m working on a custom Warcraft 3 map (Reforged, Lua-based) where each player has 4 preplaced, player-owned shops. Each shop should be exclusively accessible to its owner — no allies, no enemies, no shared access whatsoever. That part is non-negotiable.
My goal is to achieve clean and engine-native shop interaction for each player, where:
The scenario is fairly simple, it's a 2v2 map, and each team spawns in the same area, and each player on the same team have their own shops. It should not be possible for Player 1 to shop in Player 2's shops and vice versa. This part is non-negotiable, I'm not looking for workarounds that circumvent that fact, or any clever solutions like using a single shared shop etc.
I'm hoping you guys can help! I've tried scouring the entire internet but to no avail.
I’m working on a custom Warcraft 3 map (Reforged, Lua-based) where each player has 4 preplaced, player-owned shops. Each shop should be exclusively accessible to its owner — no allies, no enemies, no shared access whatsoever. That part is non-negotiable.
My goal is to achieve clean and engine-native shop interaction for each player, where:
- Only the owning player can interact with the shop.
- Others can’t see, click, or buy from it.
- No workarounds like refunding purchases or hiding things with fog of war.
- Items Sold (default approach):
- The shop and its configurations work perfectly here, but any ally can access and use the shop.
- The shop and its configurations work perfectly here, but any ally can access and use the shop.
- Items Made (as suggested in some threads):
- Results in “No valid patron nearby” even when:
- The hero is nearby.
- The shop has Select Hero, Shop Purchase Item.
- The shop is player-owned, and the hero belongs to the same player.
- The hero is a proper Hero unit (and the only unit in the game).
- All above configurations work perfectly fine if I use Items Sold, it's the switch to Items Made that breaks it.
- Results in “No valid patron nearby” even when:
The scenario is fairly simple, it's a 2v2 map, and each team spawns in the same area, and each player on the same team have their own shops. It should not be possible for Player 1 to shop in Player 2's shops and vice versa. This part is non-negotiable, I'm not looking for workarounds that circumvent that fact, or any clever solutions like using a single shared shop etc.
I'm hoping you guys can help! I've tried scouring the entire internet but to no avail.