#(drakestein) find the uuid of an entity (Mythic) in a location

16 messages · Page 1 of 1 (latest)

covert pecan
#

Hi, I'm trying to find the uuid of a created mythic entity.

The idea is that when placing a block it is eliminated and spawns a mob and I would like it to return the UUID of that entity

after player places MRK_boxitem: - narrate <context.location.center> - modifyblock <context.location> air - mythicspawn buy_box <context.location.center> - wait 10t - narrate <context.location.find_entities>

lean irisBOT
#

(drakestein) find the uuid of an entity (Mythic) in a location

lean irisBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

dull lark
#

Not sure what you mean exactly but you can reference your spawned entity using the save argument

#

!c mythicspawn

modest mossBOT
# dull lark !c mythicspawn
Required Plugins or Platforms

Depenizen, MythicMobs

Group

Depenizen

Syntax

mythicspawn [<name>] [<location>] (level:<#>)

Short Description

Spawns a MythicMob at a location.

Description

This allows you to spawn a MythicMob at a location using the mob's internal name.

dull lark
#

<entry[saveName].spawned_mythicmob> returns the spawned MythicMobsMob.

#

!lang save argument

modest mossBOT
# dull lark !lang save argument

The "save:<name>" argument is a special meta-argument that is available for all commands, but is only useful for some.
It is written like:

  • run MyScript save:mysave

When the save argument is used, the results of the command will be saved on the queue, for later usage by the "entry" tag.

The useful entry keys available for any command are listed in the "Tags" documentation section for any command.
For example, the "run" command lists "<entry[saveName].created_queue>".
The "saveName" part should be replaced with whatever name you gave to the "save" argument,
and the "created_queue" part changes between commands.
Some commands have multiple save entry keys, some have just one, most don't have any.

Many users make the mistake of using dynamic save names like "save:<[something]>" - this is almost always wrong. Use a constant name, just like you do for definitions.

Group

Script Command System

dull lark
#

Then you can do whatever you want with that (store it somewhere, narrate it etc)

mental pawn
#

- modifyblock <context.location> air you'd want to use an on event and determine passively cancelled - cancel the event

#

And also, what do you need it's UUID for? generally you'd work with the EntityTag itself

spark lark
#

aya raises a good question but the save argument answers the literal question - what youre trying to do probably doesn't require knowing the UUID as opposed to getting and saving the mythicmob mob's entitytag

runic brambleBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@covert pecan