Anyone know how to make interactable craftintable?

If you touch the crafting table it will bring you to shop. Anyone know how to do it?

1 Like

Create a new script and add the when a unit starts touching another unit trigger, then add an if / else / then action that checks if the last touched unit is a crafting table. If it is, then open the shop for the owner of the last touching unit.
The script should look something like this:

triggers: when a unit starts touching another unit
if (unit type of (last touched unit)) == (Crafting Table)
    then do:
        open (shop) for (owner of (last touching unit))
    else do:
2 Likes

thanx
(FILLER TEXXTTT)

1 Like