Selection system help

So I have a few things that all work as the selection system for your defenses, i’ve tried everything i can think of to fix. basically what is happening is the global type (Next slot) is getting +2 instead of +1 for some reason. and this number goes up for every level you complete. Can anyone help, this is a serious drag on production.

After further investigation, every tower is being linked to the (Tower 2) global condition. It’s very strange and makes no sense, so if anyone has an idea of what’s going on inside the (Tower choice controller) please let me know.

There’s several things wrong with the system, and it currently isnt functional and would cause a crash if it did work.

  1. The “Tower Choice Controller” is paused when the level starts, so it doesnt actually cycle the slots. Fixing just this causes a loop when you select a character, so read below too.

  1. Your card operators uses a slot2 in their placement set up. You need to instead use a new Global (called “Tower”) that inputs the tower number.

Theres a slot global that creats a loop:

Instead, Use a “Tower” global that inputs the tower selected.
(do this for all towers, Salesman = 2, Crate = 3, etc.)

And to break the loop and fix the assignment in the assigment block is to change the tower bundle with the Tower Global. (this has slots in it instead of towers causing the loop).

1 Like

Thanks, but I still have one problem, if you select more than 8 (Increasable number) towers then they all just stack on the 9th slot, is there a way to stop this without causing another loop?
It also is still having the same problem, so it didn’t really fix anything

It still doesnt work because theres still a few missing things you have here.

  1. /Jack and /Kidnapper have the same index value of 9. This will cause an issue in your slot globals if you dont have them labeled correctly.

  2. It stacks because you dont have slot 9 and 10 connected in the Tower Choice Controller.
    This means its always thinking the next slot is 9 but the controller can assign to 8, and ALL the operators have a filter that cant be greater than 10 slots. This would make them stack on 9.


1 Like

Okay, thank you, but how do I solve it from doing the spacing thing, after you beat a level it just puts spaces in between selections making them take 2 spaces. This was my first question, and I can’t make the game playable without fixing it.

I didnt look at the spacing thing because you said something was wrong with the slot2 global, and I didnt actually play the game to see the spacing issue.

After further testing, I can say this is indeed a bug.
I honestly not sure whats causing it, but the tower controller is suppose to be the only thing that is suppose to change the NextSlot global values. Its like something is set to “stay between levels”.

I’m pretty sure its a bug with the global blocks since they have a property like that.

1 Like

I’ve been hunting for the cause, I truly have no clue what is causing this, but thank you so much for looking into it.

I’ve spent about an hour analyzing each input, and I can’t find any problem, yet one still exists. I really don’t want to have to restart this mechanic or find a totally different one.

Hey so I know it’s been a minute, but I’ve found my problem, for some reason the Tower choice controller gets duplicated after beating a level, which causes the increase of signals, super strange issue.
Update, Doesn’t seem to be the cause, but is still an issue.


I think it’s a bug on the Global block, but I’m entirely sure. I’ll try to get @grazer to look at the issue.

1 Like