👆
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

Custom specific conditions to interact

Besides the server validation if a player is allowed to interact you can add your own conditions in AC_PC_Interaction -> ServerSpecialConditionsNeededToInteract. In this function you can find an example for a locked door that only can be accessed if the player has picked up a key card before. Please note that this is an example in the demo map and it relies here on the player controller that comes with the interaction system BP_InteractionSystemPC. In there it stores in a boolean variable if the player has picked up a key card. If you want to implement your own condition and you have a different player controller, it is no problem. You can cast in ServerSpecialConditionsNeededToInteract to your own player controller and access information (if necessary) about picked up items and more - Interaction Notify events for player (Event Dispatchers and Interface) could be useful for this.

PreviousPlay Sounds on damaging and destructionNextChange interaction key [E]
⛏️