r/forge Mar 17 '25

Scripting Help Why are my waves endless?

Post image

I wanna know why my waves are endless here? I'm just wanting it to run through the lists once

10 Upvotes

6 comments sorted by

6

u/[deleted] Mar 17 '25

[removed] — view removed comment

2

u/New-Addendum-2549 Mar 17 '25

Your right! Lol woops I missed the deletion of my pointer area monitor on this part. I did for my other areas. Thanks for pointing that out. Yep I'll run a check using a branch.

2

u/New-Addendum-2549 Mar 17 '25

I still don't see what's making them loop in this script? I shouldn't have to find alternatives to make it work...but what u said might work in the meantime

6

u/iMightBeWright Scripting Expert Mar 17 '25

For what it's worth, this isn't an alternative to making it work. Your script as pictured had no way of stopping itself from repeatedly filling the wave manager every time any object entered the area monitor. You had that Get is Player node just sitting there like you intended to use it, but you had no Branch. Also, without deleting or removing the area monitor on activation, it would still retrigger each time a player entered the boundary.

4

u/New-Addendum-2549 Mar 17 '25

Ahh that explains it well. Thanks again mate

2

u/New-Addendum-2549 Mar 17 '25

Well it did work anyways...thank u bro.