If an entity's position changes during a function, every subsequent command has to be prefixed with `execute at @s`.
I propose a solution to this: `/execute continue`. This simply continues the function using the current execute context.
Example:
# Whichever entity this was run as
say hi
execute as @n[type=marker] continue
# The marker
say hello
# also the marker
say goodbye
Please sign in to leave a comment.
1 Comments