How could I make it so the first time you respawn you go to a certain room and then the next a different one and so on
Maybe you respawn, then a teleporter gets activated. Then the teleporter teleports you to the new room.
This is used via counters.
Can you explain a bit more
Use a Lifecycle, wired to player knocked out. It will broadcast on a channel. Then, place a counter that increases on that channel. This updates a property, that property being “Knockouts”. Place a trigger that will run on the first channel. Use block code to use an if-do statement that will compare the value of the property with a number, and if the number equals the property, it will broadcast on a channel, teleporting the player. Want a picture?
If you use multiple teleporters when the player respawns, the player will be at a random teleporter each time. This is because there is no definite teleporter to go to so the player will respawn in a random room.
So you respawn at one room then immediately get teleported?
No. To make sure that does not happen, use a true/false statement that changes.
Yep, you’d respawn at your last respawn point and then get teleported wherever you want. And it can change every single time exaclly as you intend.
The first time, you could be teleported to the ocean, the second, the forest, and so on, as so you set it.
When you respawn, you activate a counter with a target of 1. When target is reached, you teleport the player to the next room. The counter also increments another counter with a target of 2. When you respawn, you increment that counter and when target is reached, then teleport to another room. And so on.
Ok I’m gonna test it out
I’m going to send you the block code.
Or you can use a checker and give the player a certain amount of an item when they respawn and the checker will teleport them to a certain room if they have a certain amount of the item.
This trigger will trigger when the player is knocked out, and will have a delay of 0.5 seconds (the game is slow, this time allows it to appear instantly)
Remember to mark a solution when you have found one!
(post eaten by author)
Trigger settings:
So just remember, it’s
Lifecycle set to "Player Knocked Out" transmits on "Player Knocked Out"
Counter, set to increase by one on "Player Knocked Out"
Counter updates a property, that property being "Knockouts"
Trigger triggers on "Player Knocked Out', runs this block code, which basically has programmable settings for each time a player is knocked out
What Is this about the wixsite?