i noticed that we have a cuboid expand function but i didnt not see a clean way to add a second square to an existing cuboid. the reason i am wanting to do this is because i want players to be able to make multi location shops and have them all listed under their own notable. is there a clean way to say have a player note cuboid as:store_<player.uuid> and then say at a second taco bell location use that same notable name taking the existing notable and adding the new cuboid to it?
#(calico) how to note a cuboid under the same existing cuboids name without them being connected
55 messages · Page 1 of 1 (latest)
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>
(calico) how to note a cuboid under the same existing cuboids name without them being connected
!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...
instead of note, adjust your current cuboid note and add the next cuboid to it
Ahh thats the tag for it. I thought one existed but the add member threw me off. Figured it would be like cuboid add_cuboid
But thinking further on that i might make them name the cuboid some how so that each one can have a custom enter method
Custom entry greeting *
Unless there is a better method to store it per store. Open to suggestions. If a noted cuboid has multiple locations how would one enter a custom greeting per cuboid?
yeah that sounds like just, do separate notes
you can even do like
`on player enters myshops_*:
- narrate <context.area.flag[entry_message]>`
(ie give the cuboids a standard name pattern and then flag each cuboid with its unique details)
Yeah thats kinda the direction i was leaning. Just need to figure out how to make it so if a person wants 4 taco bells they can do that without overwriting the first one. Might make it just add to the cuboid if they do that and it will keep the same greeting messages for all locations named the same
Also discord is being weird. It doesn’t light up my thread when people have replied
Oooo just thought of a better method. Since the shop requires at least a single npc i can store the greeting on the npc and then look for the nearest flagged npc to greet the player
can use a proximity trigger, ye
I used to use proxy trigger but it doesn’t work for this use case
Unless someone wants to add proximity cuboid for the npc
They end up creating an un optimized setup because they constantly have to process if the player is within the cuboid and if its a large size store that can make it fire for alot of players in a busy area
My though was on cuboid enter do a search of entities within the cuboid that have the greeting flag and grab the nearest one
Search of npcs*
so for that mech it would be something like - adjust mycuboid add_member[mysecondcubid] and i wouldnt have to renote it?
as long as it's for the same world, you'd just use the cuboidtag.add_member[<cuboidtag>] yeah
cuboids can have as many cuboids as you want in them
Thread Closing Reminder
Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> 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.)
@blazing drift
- adjust <cuboid[store_<player.uuid>].note_name> add_member:<player.flag[storecuboidloc1].to_cuboid[<player.flag[storecuboidloc]>]>
this line in the script
[17:35:28 INFO]: +> Executing 'ADJUST': object='li@ (Size 1): store_ba85964b-f511-4ca7-b1ca-df6ce1f78755' mechanism_value='cu@world,957,71,254,963,74,263' mechanism='add_member' [17:35:28 INFO]: ERROR in script 'storecreator' in queue 'STORECREATOR_23_PassSanyo' while executing command 'ADJUST' in file '\scripts\dStore.dsc' on line '19' with player 'calicokid'! Error Message: Unable to determine what object to adjust (missing object notation?), for: store_ba85964b-f511-4ca7-b1ca-df6ce1f78755
throws this error. everything in the tags fill properly so is there something i am not seeing here?
!m 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...
remove the .note_name
Remove a sub-member from the cuboid at the specified index.
Object
CuboidTag
Input
ElementTag(Number)
Tags
<CuboidTag.remove_member[<#>]> Returns a modified copy of this cuboid, with member at the input index removed.
!t member
Cannot Specify Searched Tag
Multiple possible tags: <DiscordGroupTag.member[<name>]>, <PartyTag.members>, <PlotSquaredPlotTag.members>, <WorldGuardRegionTag.members>, <DiscordGroupTag.members>, <CuboidTag.add_member[<cuboid>|...]>, <CuboidTag.members_size>, <CuboidTag.list_members>, <CuboidTag.add_member[<cuboid>|...].at[<index>]>, <CuboidTag.remove_member[<#>]>, <DiscordChannelTag.thread_members>, <PlayerTag.skyblock.members>, <server.scoreboard[(<board>)].team[<team>].members>.
Possible Confusion
Did you mean to search for locationtag.center?
if not could there be a way to find out the index number of the cuboid the player is standing in?
something maybe like <location.cuboid.member>
^ if you need to distinguish them, do separate notes
Ok then i will have to go that route. Was hopeful for a location member number or something of that sort. Might do some sort of bossbar thing to show what shop you enter and that cuboid location thing could work for that