#(Isz) Noted cuboid on instanced worlds.

18 messages · Page 1 of 1 (latest)

stray fulcrum
#

I have created a randomly generated instanced dungeon system and I would like to know the best way to teleport players from the boss door to the boss arena. Normally I would use on player enters cuboid but noting a cuboid per world would have a unique name and therefor couldn't be used in the event line? It seems there isn't a on player enters any cuboid then could check the cuboid name against the player world name or something.

The boss door and arena is always on the same X axis but could be anywhere along the line. One long cuboid that covers every location of the door would be fine.

Any ideas? Thanks.

verbal nacelleBOT
#

(Isz) Noted cuboid on instanced worlds.

verbal nacelleBOT
#

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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

zinc oak
#

if you want the event to fire when a player enters any cuboid then you simply just have to do on player enters cuboid. that will run for any cuboid. to get the name, you can use <context.area.note_name>

sick ember
#

remember there are always matchables and wildcards

you can make your cuboids be named teleporting_room_<util.random_uuid> and then use the event player enters teleporting_room_*

wet stump
#

You can also use flags and the area_flagged switch

#

Or use subcuboids to combine a dungeon

#

!m cuboid.add_member

coral oceanBOT
# wet stump !m cuboid.add_member

Adds a sub-member to the cuboid (optionally at a specified index - otherwise, at the end).
Input is of the form like "2,cu@..." where 2 is the sub-cuboid index, or just a direct CuboidTag input.
Note that the index is where the member will end up. So, index 1 will add the cuboid as the very first member (moving the rest up +1 index value).

Object

CuboidTag

Input

(#,)CuboidTag

Tags

<CuboidTag.get> Returns a cuboid representing the one component of this cuboid (for cuboids that c...
<CuboidTag.add_member[<cuboid>]> Returns a modified copy of this cuboid, with the input cuboid(s) added at the end.
<CuboidTag.add_member[<cuboid>].at[<#>]> Returns a modified copy of this cuboid, with the input cu...

Examples
# Adds "my_second_cuboid" as a member to "my_cuboid" and narrates a formatted list of members.
# For example, if "my_cuboid" is "world,5,5,5,10,10,10" and "my_second_cuboid" is "world,12,12,12,22,22,22",
# then this will narrate "world,5,5,5,10,10,10 and world,12,12,12,22,22,22".
- adjust <cuboid[my_cuboid]> add_member:my_second_cuboid
- narrate <cuboid[my_cuboid].list_members.formatted>
# Adds "my_second_cuboid" as a member to "my_cuboid" at the second index.
- adjust <cuboid[my_cuboid]> add_member:2,my_second_cuboid
severe gateBOT
#
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.)

#

@stray fulcrum