Author Topic: How do I randomize teleport targets?  (Read 2129 times)

If you dont want to use VCE (I luvvin the VCE but a lot of stuff takes way too many lines to do) or want to do default only, you can create a projectile randomizer and have each option do a seteventenabled on the teleport brick.

projectile randomizer looks like this
Code: [Select]
[ X  X  X  X ] - random projectile brick

[X][X][X][X] - choices
you can make the random projectile brick fire a pong or a pinball downward, and it will spawn randomly on the area of the projectile brick
then you event it so when any of the choice bricks takes in a projectile, you can make each one setEventEnabled positive to the teleporter. Clicking the teleport button will spawn a projectile on the projectile brick and will choose an outcome randomly, and they can then click another brick (or to a plate below the player and positive an OnPlayerTouch) to complete the teleport.


Isn't there a few random teleport mods out there anyways?

If they are, yes, VCE and the projectile method would work (I recommend the projectile one), but if you can use a working mod, do that.