At this time you can't disable the retry logic with any entity interactions, however you could do a "dumb" interact like this and react however you'd prefer:
GameObject rock =GameObjects.closest("Rocks");PointDestination pointDestination =newPointDestination(rock.getClickablePoint());InteractionEvent interactionEvent =newInteractionEvent(pointDestination);if(interactionEvent.interact("Mine")){// Successfully interacted with a rock}else{// Failed to choose that action at the given point, move / rotate / etc.}
It's a bit more verbose, and it wouldn't actually ensure that the entity at the point it interacts with is the exact same entity, but I imagine that'd be pretty rare.
Hope that helps!
"etClickablePoint()" its some random point on Object?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Mouse interact configuration
in Scripting
Posted