Author Topic: How would you make a player spawn at a named brick?  (Read 1820 times)

If there's only one brick in the server with that name: _brickname

Say there were two bricks with the same name, how would you get the other brick?

Say there were two bricks with the same name, how would you get the other brick?
I can't remember what the variable names are exactly, but do this:
place 3 bricks
name 2 of them "blah" and one "bleh"
call brickgroup_41155.dump();
there's some stuff about named targets

Actually, you can change a player's position by setting %pl.position = "some position"; - it's a stupid way to do it and you SHOULDN'T do it that way, but it technically works.

Since when does that work? For me, it just teleports the player to 0 0 0.

Since when does that work? For me, it just teleports the player to 0 0 0.

Well if you literally set it to "some position", yes, it would teleport them to 0 0 0. You have to actually use a Point3F, like, say "36 12 0.05".