Author Topic: Auto-clear Checkpoints  (Read 869 times)

Would be cool to have check-points that clear automatically when the minigame resets.


RESOLVED
Has anyone made a Bot Hole where it doesn't have a bot set in it until it is told (via events) to have spawned a bot?

I'm making a Bot Fighting thing, and my events have gotten so complex that some of them do not trigger when the minigame resets. One of the main things that is flooding the event Queue is the bots all resetting at the same time.
« Last Edit: February 28, 2017, 08:42:02 PM by Deadzone »

You could do something such as:

Onminigamereset > self > setbottype > none

Then you could use named brick events to set that brick's not to whatever.

If it doesn't work with mini game like you said, there is another method that requires a little more work.

Onbotspawn > self > setbottype > none

Then you'd use named bricks to toggle that event as well as modify the bot or whatever you need.

Onactivate(or whatever input is) > namedbrickBot > toggleeventenabled > whatever event number the above event is on the bothole

Onactivate > namedbrickBot > setbottype > whatever

I wouldn't really use the minigame event way, as minigame events are notorious for breaking and not behaving as they should. The other way, while longer, is less likely to mess up and can have further use.

As for the checkpoint thing nothing comes to mind, sorry.

« Last Edit: February 28, 2017, 08:28:02 PM by Blockhead31735 »

Onminigamereset > self > setbottype > none
With the way that events work, it doesn't matter if the bot is set to none as all of the events happen at the same time (since bots aren't by default set to none). It's not that I don't know how to make them not spawn, it's that the events are breaking because there are too many happening at once. The "Minigame reset" event doesn't even work anymore. lol

I have come up with a solution to the bot issue, but I would still like to see a Checkpoint that clears upon the minigame's reset.

use this event
https://forum.blockland.us/index.php?topic=243057.0#post_clearCheckpoints

all you need to do is use an on minigame reset

but it applies to ALL players to ALL checkpoints so...

use this event
https://forum.blockland.us/index.php?topic=243057.0#post_clearCheckpoints

all you need to do is use an on minigame reset

but it applies to ALL players to ALL checkpoints so...
That's absolutely perfect! Thank you.