Author Topic: setRandomTransform  (Read 1019 times)

An alternative to "setPlayerTransform", "setRandomTransform" would teleport the player to any random brick named in the list like so:
onPlayerTouch>Player>setRandomTransform <1 2 3 4 5>

I think this can be Done With VCE.

I think this can be Done With VCE.
that it can, or projectiles if you prefer them :D

It is possible and easy with VCE :D

I made a random teleport...
4/5 it landed in LAVA
1/5 it landed on safe land
xD

or projectiles? for a 1/4 chance, just have a 2*2 plate with 4 1*1 plates under it, and then it spawns a projectile at them, and if hit, it teleports :D

PrintBrickEvent
onActivate > Self > FireRelay
onRelay > Self > setRandomPrintNumber
OnRelay > Self > FireRelay

teleporter brick

onActivate > namedBrick [PrintBrick] > IfPrint [1]
VariableTrue > Namedbrick [Tele1] > Setplayertransform > Relative
VariableFalse > Namedbrick [Tele2] > SetplayerTransform > Relative.

Yeah. I only know Variables. Someone needs to teach me VCE :/