More hierarchy related "Get" chips

In Rooms V2 now, we only have:

  • Root Player - Not 100% sure what this does, but I believe its only useful for Player Definition Boards, a better version of Self
  • Root Object - Gets the root object/root parent of a hierarchy regardless of how far in you are
  • Rec Room Object Get All Children With Tag - Gets all children of the target object with a given tag

Chips

I request a few chips out of need and want:

  • Rec Room Object Get Parent - Returns the parent of a target object (Returns Invalid Rec Room Object if it is the root parent)
  • Rec Room Object Get Children - Returns all children of a target object indiscriminately, so no “With Tag”
  • Rec Room Object Get First Child With Tag - Returns the first child of a target object with a given tag
  • Rec Room Object Get Siblings - Returns all siblings of a target object (If it is the root parent or the only child, returns a list only containing itself)
  • Rec Room Object Get All Siblings With Tag - Returns all siblings of a target object with a given tag
  • Rec Room Object Get Sibling Index - Returns the index of the object among its siblings
  • Rec Room Object Get Hierarchy Depth - Returns how deep the target object is in its hierarchy, 0 for root, 1 for child of root, 2 for child of the child of the root, etc)

In the future when RecRoom gives us the ability to dynamically modify the hierachy, “Set” versions of some of these chips like Rec Room Object Set Is A Child Of would be nice

Why

Currently, I don’t like using circuitboards because of memory and chip limit, and I also like keeping my tags in strict order, so it would be nice if in my replicator, I could have the children of the object have no tags, then when the object is replicated, use Rec Room Object Get Children to get the first and second child and add tags to them, but currently right now, they must already have tags to begin with, and I must get those objects using Rec Room Object Get All Children With Tag and then get the first element in each of those lists to grab the objects, which is also why I suggest Rec Room Object Get First Child With Tag