Reset emitter amount
I am building a bingo type machine, attempting to use an emitter to emit coins on payout. My "Bet" variable is attached to the "max emitted at once" input or the "max emitted" input (either way, same results), set to continuous, this works once. When the logic runs through a second time the emitter does not react. I can't seem to figure out how to reset it, or why it doesn't work the way it is.
Side note: if it emits the variable at 1 the first time and then 3 the next time it will emit the 1 and then 2, so it is technically reacting each run I just need the amount to reset between activating
Okay, I solved it, in case anyone else has a similar question: For the payout I am adding the initial bet variable to a second variable which is attached to the "max emitted" input on the emitter. So instead of the "reset" I was thinking of, the second variable just counts up only emitting the initial added number each time. Works like a charm now. Nap time. <3
Process goes, bet, randomized variable selects, emitter emits coins based on variable, machine resets, bet, randomized variable selects, emitter has already emitted.. I cant find a way without placing a separate emitter for each round, but thats inconvenient overkill for something that seems like it should be a lot simpler
What I need to do is emit the bet variable more than once. I was hoping that there would be a way to emit an amount, then somehow reset the emitter so I can emit a different amount while still leaving the initial emit unaffected.
I don't fully understand what you are having trouble with.
I would advise though that "max emitted" & "max emitted at once" don't work the same way just incase you have set them set up with identical values.
"max emitted" controls how many objects the emitter can emit in total during the course of the level/scene. Once the emitter has reached this value of objects emitted, it will not emit any more.
"max emitted at once" controls how many of the emitted objects can exist in the scene at the same time.
Could this be your issue?