Jump to content

Camera event with break condition


Zummy

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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