Author Topic: Clear all items on round end  (Read 2414 times)

A script that clears all items dropped/spawned at the end of the minigame.

Sounds straight-forward to me, but I'm not sure if it is.



Greek can literarly throw together a slayer prefrence in minutes i'm sure. He participates in every topic with slayer in the name, just wait for him.

I know you can use events to clear spawned items simply by doing onMinigameResest > namedBrick [whateverYouNamedYourItemBricks] > setItem > None

As for clearing dropped items, I think there might be an option to make the end game results board last a little longer before the mini resets. Dropped items disappear after like 5 seconds I think


bump, seems possible
It's totally possible.

I don't see why you'd want to clear all items on bricks though.

Maybe he wants that you unlock or find weapons that then become available and when the minigame resets, the weapons need to be unlocked/found again.

Well. I guess I'll make this. It'll be two Slayer prefs. One to clear dropped items and one to clear items on bricks.

Should it clear them on round end or on minigame reset though? Not much of a difference.

I think on reset would look better. Plus then it could work with non-Slayer minigames too.

I think on reset would look better. Plus then it could work with non-Slayer minigames too.
Good idea. I'll just make it always enabled if they don't have Slayer.

It's totally possible.

I don't see why you'd want to clear all items on bricks though.
woops, disregard that then
i still want it to clear dropped items

woops, disregard that then
i still want it to clear dropped items
Ok. It'd be better just to event them to set to NONE on reset anyways. That why not all the bricks are set to NONE.

Ok. It'd be better just to event them to set to NONE on reset anyways. That why not all the bricks are set to NONE.
Alright.