VoidInteractDOCUMENTATION2.0.0
Quick startGet VoidInteract

Exercise: button and key

Use your own anchored button to operate a saved mechanism with a simple server-owned key.

  1. Apply a hinge or slide mechanism.
  2. Keep it loaded and select a separate anchored button.
  3. Open Links and choose Link selection.
  4. Optionally turn Direct interaction Off, preview the change and Apply.

Require a key

Set Key / card to WorkshopKey, preview and Apply. For this exercise, add a Tool named WorkshopKey to StarterPack and set RequiresHandle=false. In Play it must exist in the player Character or Backpack on the server. A matching VI_Key string attribute is an alternative.

Expected result

Without the matching server-owned Tool, activation is denied. With it, the button opens the mechanism. This does not create inventory persistence, consume the key or implement a role system. Remove the test Tool after the exercise if it is not part of your game.

Search all guidesEsc to close