Setup Guide - Vaei/Vigil GitHub Wiki

[!IMPORTANT] Watch the Video There is no substitute for watching the video, but here's a recap...

  1. Install Vigil
  2. Optionally create blueprint from UVigilComponent
  3. Add Vigil Component to your PlayerController
  4. Assign targeting data to the component
  5. Add an abilitysystem and GiveAbility (do not activate) on Event Possessed
  6. Optionally change the ability's NetExecutionPolicy from LocalPredicted to LocalOnly if you don't want it to run on server
  7. Use log logvigil verbose and log logvigil veryverbose for debugging
  8. In Event ReceiveControllerChanged use FindVigilComponentForController and bind to OnVigilTargetsReady and OnVigilFocusChanged
  9. From OnVigilTargetsReady call VigilDrawDebugResults
  10. Add Trace Channel called Interaction, default to Ignore (based on the video, your project might want something different)
  11. Duplicate VigilTargeting and assign the new Interaction channel to Collision Channel for Vigil Target Selection
  12. Change your Vigil Component to use your duplicated targeting data
  13. Make sure your objects overlap the Interaction channel

[!NOTE] Seriously, watch the video, these are basically cliff notes and miss tons of stuff