So I’ve been working with Stack o Bot a bit, making a small level, but I’ve been stuck trying to make a door open with collecting orbs I place on the small level I’m making. I’m still new to this, getting there
Hey @THE_RANDOMX how are you?
I found this usefull video on how to make something like this.
In addition, I’d like to clarify that you can extend that feature by madding the collected items to all the doors of the same type by changing the logic in the collectable item as you can see in the following image:
(Quick clarification here: remember to cast to BP_Bot instead of BP_ThirdPersonCharacter, as you are working with Stack o Bot template)
As you can see there, you can use the node “Get All Actors of Class” instead of “Get Actor of Class”. That node will give you an array with all the doors you have placed on the level. Then you can loop that array and call the “Collect Item” event for each of them instead of calling it for only one.
In addition, in your door BP, you can click on the “Max Items Collectable” variable and then enable the option “Instance Editable” on the Details panel:
By doing that, you will be able to place multiple instances of the same door in your level, but make each one of them open with a different amount of items collected, as you can see in the following video:
In this example, the first door opens when 2 coins are collected, and the seccond door opens after collectiong 4 coins.
Hope this helps you!