Fake agent

I have doors that open with button interactions on my map, however as the player using the button is passed in, it seems to open the door away from them always. Is there a way to pass in a spoofed agent (like a prop placed in the editor thats considered an agent) to allow the door to open the specific way I would like it to?

1 Like

I’ve used a switch as an in-between with success, example code is available here: Verse - Automatic Sliding Door | Uefn Code Snippet

Just swap out the capture zone in the example with your button_device.

This seems pretty smart and useful for a custom sliding door, but it sadly doesn’t work in this instance. Thank you though! Essentially I am letting the user collect a key which opens a generic Fortnite door asset using a Lock Device. However when the LockDevice.Open() is triggered, the player agent has to be passed in and it always swings away from the position of the agent at that time. I would like to be able to pass in essentially a ‘fake agent’ so that the door swings a specific way.