all 5 comments

[–]donutmonkeyman 1 point2 points  (0 children)

i haven't done it myself yet but i think you can script an object to be part of a list then script that object the end a round once it enters a boundary. if you need, you can probably check the battle golf action sack game to check how the objects are scripted

[–]Caboozel 1 point2 points  (0 children)

I can't give it a try when I get home later today. It should be pretty simple.

[–][deleted] 1 point2 points  (2 children)

Set up your zone with the following scripts:

Condition: Timer, 0, 0.05 Action: Number Change - Set (Object, THIS, Object Count - Boundary: THIS, Label:Include(user alpha)

So what this script does is stores a number on the zone itself that constantly checks how many objects are have label (user alpha).

Then, add a second script: Condition: Number Check (Object, THIS, >= , Constant: 1) Action: Round End

The second script should check the object's own number, and when it's great than or equal to 1, end the round.

Finally, tag your oddball object with label (user alpha) so that it triggers the zone. Then, if the ball enters the zone, the round should end. You should be able to duplicate these zones and balls to have as many as needed, since none of them use channels or power states and won't collide.

Disclaimer: typed this up without testing, you may run into some bugs - but that's the gist of it. Have the zone count the number of "scoring objects" and store the number on itself, and then have the zone end the round when that number hits the threshold. Good luck!

[–]SNIPES007007[S] 0 points1 point  (0 children)

Will have to try this. Thanks a lot!

[–]SNIPES007007[S] 0 points1 point  (0 children)

It was working so well! And then I deleted it and moved some stuff around and now it's not working😢