I have the following BP
The Inserter that feeds into the storage chest should insert X stacks of the produced item.
My problem is that I don't know how I can ask the player to provide a number. And then I need to use that number and multiply it with the stack sice of {0}
Add user variable for output stacks in parametrised BP?
- CheeseMcBurger
- Long Handed Inserter
- Posts: 86
- Joined: Sun May 19, 2019 9:57 pm
- Contact:
Re: Add user variable for output stacks in parametrised BP?
I came up with this solution:
Also here is related suggestion to you question: 116330
- Add something not used in your blueprint, like a Constant combinator, with some unused signal, like "A".
- Set it to some not used value, like "A = -1".
- In parametrized BP window place checkmark for "Parameter" for this "-1" and set its "Variable" to "n" (or any other not used).
- And for your output set "Formula" to "p0_s * n".
- Place blueprint, set parameters.
- Remove Constant combinator (ghost or already built if your bots are fast).
Also here is related suggestion to you question: 116330
Re: Add user variable for output stacks in parametrised BP?
Yeah, that's probably the easiest way to do it. If you're already using a requester chest, instead of adding a constant combinator you can add another logistic group to the requester chest to use as a dummy parameter and just disable it, though constant combinator will give you a bigger selection of signals than just the item ones.