#(_triton4ik) NPC LOOK

56 messages · Page 1 of 1 (latest)

normal sluiceBOT
#

(_triton4ik) NPC LOOK

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

fervent pasture
#

#showcase message

#

unless you are referring to what originrealms is using

#

!m fov_multiplier

timid frostBOT
fervent pasture
#

well that requires math, gotta wait for someone else to help

hallow island
#

did u mean the crosshair moving to the face or the camera itself?

hallow island
fervent pasture
#

nope, the crosshair moves to the face

#

i think i have an idea

#

!t <LocationTag.face[<location>]>

timid frostBOT
hallow island
fervent pasture
#

but im sure he means the stuff that happens when you click npcs on originrealms

#

do you want the same effect like in originrealms?

#
- rotate <player> yaw:<player.eye_location.face[<npc.eye_location>].yaw.sub[<player.location.yaw>].div[10]> pitch:<player.eye_location.face[<npc.eye_location>].pitch.sub[<player.location.pitch>].div[10]> duration:10t
#

damn that works pretty good, might use it myself

#

if you want to change the speed, u need to change all 3 10s

#

@untold tapir

#

no i know what u mean

#

and its not possible unless you use display entities with spectator mode

fervent pasture
#

regarding the smoothness

#

well try and see

#

you can experiment

timid frostBOT
# young fossil !t look
Cannot Specify Searched Tag

Multiple possible tags: <NPCTag.lookclose>, <NPCTag.navigator_look_at>.

young fossil
#

!c look

timid frostBOT
# young fossil !c look
Group

entity

Syntax

look (<entity>|...) [<location>/cancel/yaw:<yaw> pitch:<pitch>] (duration:<duration>) (offthread_repeat:<#>)

Short Description

Causes the NPC or other entity to look at a target location.

Description

Makes the entity look towards the location.

You can specify either a target location, or a yaw and pitch.

Can be used on players.

If a duration is set, the entity cannot look away from the location until the duration has expired.
Use the cancel argument to end the duration earlier.

Optionally, you can use the "offthread_repeat:" option alongside "yaw:" and "pitch:"
to cause a player's rotation to be smoothed out with a specified number of extra async rotation packets within a single tick.

fervent pasture
#
- look <player> yaw:<player.eye_location.face[<npc.eye_location>].yaw.sub[<player.location.yaw>].div[10]> pitch:<player.eye_location.face[<npc.eye_location>].pitch.sub[<player.location.pitch>].div[10]> duration:10t
young fossil
# timid frost

- look <player> <npc.location> duration:1s for example

#

thats all

fervent pasture
#

nope it isnt transitioning from the current yaw and pitch

#

yea and its instant, no transition

#

unless thats what you are looking for

young fossil
#

so up the location

fervent pasture
#

easy fic

#

x

young fossil
#

use .up[2]

fervent pasture
#

npc.eye_location

young fossil
#

yep

#

<npc.location.up[2]>

fervent pasture
#

<npc.eye_location>

hallow island
#

the smoothest youl ever get is the spectate thing linked on the showcase above

fervent pasture
#
  • look <player> <npc.eye_location> duration:10s offthread_repeat:10
hallow island
hallow island
violet hemlockBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@untold tapir