👆
Nice Interaction System
  • 👋Welcome - Nice Interaction System Documentation
  • 🔌Integration in your project
  • 🎥Video Tutorials - Overview
  • ☑️Enable/Disable Interaction System
  • 🚪How to make any actor interactable
  • 🫥Add outline to your project and enable it in your map
  • 🌳How to make foliage interactable
  • Trace/Focus Methods
  • 👆Interaction Methods
  • Save & Load Game
  • ✊Pick up interactable (destroy it) actor/foliage
  • 📩Interaction Notify events for player (Event Dispatchers and Interface)
  • 🌲Foliage PCG instances
  • 🪵Foliage Destruction effect
  • 🌱Foliage Respawning
  • 🌳Foliage Collision after interaction
  • 🫂Replicated multiplayer interaction
  • 📪Redirected interaction
  • 🥡Interactables in interactable (example Dressers)
  • 🧸Random interactable spawning
  • 🔝Top Down Mode
  • 📜Trace/Focus Interactable ID whitelist
  • ❌Deny Interactions
  • 🧲Auto Interact (auto pick up)
  • 🔊Play Sounds on damaging and destruction
  • ⛏️Custom specific conditions to interact
  • ⌨️Change interaction key [E]
  • 💠Add new interaction widget styles
  • ✈️Seamless Server Travel
  • On switching/possessing pawn/character
  • 🐞Bug Fixes
Powered by GitBook
On this page

Deny Interactions

If you select in your interactable actor the AC_MakeInteractable component you can set in its Details tab under Interacting bDenyInteraction to true if you want to reject the interaction. It would still be possible to focus the interactable but if you interact the server will execute this event InteractionDeniedServer. If you have still selected AC_MakeInteractable scroll down to the bottom where you can add the event InteractionDeniedServer. You can use it to trigger something else either in the actor or use the passed PC value to trigger something specifically for the player. Since this event is called on the server and if you want to trigger something on the player, you might wanna execute an event that is set to run on owning client and that you need to create in your player controller or AC_PC_Interaction.

Optionally, instead of making single interactables denying interactions you can also make all interactions to be denied for a specific player. There are two variables in AC_PC_Interaction: bDenyAllInteractionsServer and bDenyFoliageInteractionServer. They are only relevant for the server and an information for the server if this specific player is allowed to interact. You only should set these variables in the server. In AC_PC_Interaction there are two events to that SetDenyAllInteractionsOnServer and SetDenyFoliageInteractionsOnServer.

PreviousTrace/Focus Interactable ID whitelistNextAuto Interact (auto pick up)
❌