Jump to content

Detecting Owner


Kadenogi

Recommended Posts

So how would I probably get the tamed entity to detect when the owner does something, then the tamed entity would also do something. Like for example if the owner gets into a boat the entity would stop for a second and then get into the same boat(making it look like it right clicked the boat) or if the owner starts swimming animation a second after it’ll start swimming animation too(animation I’ll make) and when the owner stop swimming animation 1 second after it will stop

Link to comment
Share on other sites

1 hour ago, diesieben07 said:

You either need to use events to keep track of what the owner does or check every tick.

So for every tick, does tick mean like wait then I put a number how long it waits until it does the event?

Edited by Kadenogi
Link to comment
Share on other sites

37 minutes ago, diesieben07 said:

Well, you have an entity. It has a tick method which is called every tick.

Ok, also what is it called when player uses swim animation? Or sit in boat pose? Like how do I do it? Like do I getSwimming or getPlayerSit(ik it’s not actual events, i just don’t know what it’s called)or something?

Edited by Kadenogi
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.