Actor entities?

Heya!

So, for example, let's say I have a cutscene in mc, which uses entities as "pawns" (moves them around, check from their perspective, etc.)

Should I js use tags, or would it be more effitient/better to "assign" those entities' uuids to a specific "tag" in a storage?

For example, I don't call out to any entity with the tag "mister7", but rather when the specific entity is summoned, it's assigned to a "variable" inside a storage. /data modify storage example actors append from entity @s UUID (or something like that)

And then the function is ran with macros?

Example Usage: function example:as_actor {"actor":"mister7","command":"function example:actor/mister7"}

:function example:as_actor: $data modify storage example actor.id set from storage example actors."$(actor)" $data modify storage example actor.c set value $(command) function example:_as_actor with storage example actor

function example:_as_actor: $execute as $(id) run $(c)

function example:actor/mister7: say Example

(^ not tested, js how I think it could work)

Is it better to stick to tags, or should I use a system like that (I do have patience to implement it), and if so, how would you improve this concept?

Continue to help post