#player animation

1 messages · Page 1 of 1 (latest)

daring karma
#

how can i start an animation when i ride a specific entity ?

daring karma
#

@wise swan

wise swan
#

RP AC with a is riding query

daring karma
wise swan
#

no, it's is riding or not

#

You can detect near by entities and if they are being riden.

#

Put those together and you get the same thing

daring karma
wise swan
#

You get the same result

daring karma
wise swan
#

I told you the solution

#

check for the near by entity

#

and if they have a rider

#

based on that fire the correct animation

daring karma
wise swan
#

You could use a command, entity sensor or filters in events. I don't do scripting so I don't know about that

daring karma
wise swan
#

yep

daring karma
#

how, i don’t know the values

wise swan
#

is family, has riders

daring karma
#

@wise swan js "minecraft:entity_sensor": { "event_filters": [ { "all_of": [ { "test": "is_family", "subject": "other", "value": "player" }, { "test": "ride", "value": "entity" } ] } ] },like that ?

wise swan
#

yes but set the subject for for and the test I think is wrong.

#

ride?

#

is_riding?

#

is_rider?

#

look it up

daring karma
wise swan
#

subject is self or other

#

Who is this filter being applied to

daring karma
wise swan
#

is_riding is the filter

#

your autocomplete isn't right

wise swan
daring karma
wise swan
#

is_riding

#

other

daring karma
wise swan
#

It's not formated correctly

daring karma