| Blockland Forums > General Discussion |
| How do you setplayertransform to random bricks under the same name? |
| (1/1) |
| Shell:
Let's say, I add multiple bricks called "stuffstain". I want a player who activates a setplayertransform to stuffstain to randomly setplayertransform at one of the stuffstains rather than setplayertransforming to the last stuffstain i place. How do I do this? Is it possible? |
| Legodude77:
--- Quote from: Shell on July 25, 2013, 09:07:52 PM ---Let's say, I add multiple bricks called "stuffstain". I want a player who activates a setplayertransform to stuffstain to randomly setplayertransform at one of the stuffstains rather than setplayertransforming to the last stuffstain i place. How do I do this? Is it possible? --- End quote --- Well, you could set up a fireprojectile event, then each of the bricks it could randomly hit have a different seteventenabled to the brick that causes the teleport, thus simulating a different teleport each time. If it's only going to be used once then you could get the fireprojectile event to fire before stepping on the telebrick. This won't be using the same name though sorry. |
| Swollow:
http://forum.blockland.us/index.php?topic=230721.0 lol search you nub |
| Shell:
--- Quote from: swollow on July 25, 2013, 09:13:10 PM ---http://forum.blockland.us/index.php?topic=230721.0 lol search you nub --- End quote --- well that's much simpler thank you |
| Navigation |
| Message Index |