Has anyone found a way to get game.interact()
to successfully fire? I was hoping to have a bot be able to interact with an object on trigger, but nothing happens when I pass the object ID as it is shown in the events.proto
. Has this been removed or changed?
For those finding this later, this call only interacts with type 5 or type 7 interactables.
I got it successful using the game.publishEvent call. You can find the type of each param for $playerInteract by listen to the event itself. However it doesn’t seems to trigger the object / display iframe on client side ( maybe because the web client isn’t listening to those ? )