#How can i add tag with minecraftinteract?

1 messages · Page 1 of 1 (latest)

waxen hare
#

^

brazen ruin
#

You'll have to run an event on the interacting entity. That event could, for example, change an entity property that is being watched in an animation controller. That controller then adds the tag.

frank forge
#

The event can use run command also

brazen ruin
#

That is true… but I don't know if that's ever coming out. 😦

frank forge
#

Noooopo

#

Okay so if you change and enter t property and then the animation controller does something because of that. Then how do you change it back?

#

Let's say something was true and false

#

I mean, I know that I can have an event that changes it and then the animation controller can call the event. But is there any other way?

brazen ruin
#

Maybe #1067535382285135923? catshrug

waxen hare
#

I will use run_command
tag @p add Whatever

#

That will add tag to nearest player

frank forge
#

As long as you're not running that command from inside a player.jason then yes it should do the closest player. But I would still add a radius because just in case that entity is in a taking area and the closest player is 5,000 miles away, you know?