I require a assistence

hey, so after not being on here for a WHILE, I’ve decided to get back to coding and I really need help making a pipe system. see, I’m working on I.E.C.D, a game I already made but am remastering/making a 2.0 version of the game, and have a pipe system as shown in the call pipe function. the problem is, I don’t want to waste my entire day making the rest of the code for the function to make it work, and don’t want to have to deal with finding bugs in this giant blob of if statements later on in development. do you guys have a better idea of how to do this?

here’s the game, if you want to see the code you can make your own copy of said code and look for the mentioned function.

2 Likes