Open Feniksovich opened 1 month ago
Closing an issue without any explanation is pretty rude. A quick comment would be appreciated next time.
This was added a long time ago https://ajneb97.gitbook.io/conditionalevents/global-variables#entity-variables
This was added a long time ago https://ajneb97.gitbook.io/conditionalevents/global-variables#entity-variables
It's not the same things actually. There is no variable to retrieve UUID of attacked entity for player_attack
event type for example. %entity_uuid%
never seems to get parsed here and for any "victim-related" events too I guess.
realms_poster_button_lmb:
type: player_attack
conditions:
- '%victim% == INTERACTION'
- '%entity_uuid% == 198bff12-cbc5-41c3-afe1-a5b25d25c324' # doesn't work
# ...
Oh ok, since the issue was a missing %entity_uuid% variable I thought you meant entity events, but player_attack has victim variables, so I should add a %victim_uuid% as well.
Add variable
%victim_uuid%
in victim-related events like%entity_uuid%
in entity-related events.