Jump to content

Camera event with break condition


Recommended Posts

Posted (edited)
20 minutes ago, Zummy said:

Hey guys is it possible to stop a camera moveToEntity() event when the object is clickable instead of stopping when the object is completely visible or have other break conditions?

https://osbot.org/forum/topic/135857-a-way-to-disable-builtin-camera-turning-on-interact/

 

edit: just realise what you meant by your question now, but ill leave the link anyway

Edited by FuryShark
Posted
On 5/3/2019 at 6:06 PM, Zummy said:

Hey guys is it possible to stop a camera moveToEntity() event when the object is clickable instead of stopping when the object is completely visible or have other break conditions?

moveToEntity() stops when it wants to stop which ischrome_f4kOf4otgl.png.61e1b6074fd8a38d6c8d46a78895aed0.png

Though I imagine if you wanted to break your neck - you could override this method; however, I'm having a hard time comprehending the difference between clickability() and visibility 'within the gamescreen'

 

To exactly answer your question, I am not seeing anything in the API doc that accomplishes precisely what your looking for, so you will most likely need to implement your own solution.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...