#random

1 messages · Page 1 of 1 (latest)

deep linden
#

I tried to change teleport player to {_loc} to teleport all player to {_loc} but "Can't understand this condition /effect"teleport player to {_loc}"

vestal karma
#
  1. When sending your code on Discord, use code blocks to make it easier to read (```code```)
  2. If y is always 150, why even have a local variable for it?
  3. instead of making them execute the command again, you acn just get random coords again
#

shane bee's github has a good snippet of an rtp

deep linden
#

I changed the code simply

    executable by: player
    trigger:
        set {_x} to random number between -355 and 89
        set {_z} to random number between 678 and 1042
        set {_y} to 150
            teleport player to ({_x},{_y},{_z}```

I want to teleport all player, not alone
vestal karma
#

then just use all players

deep linden
#

teleport all player to {_loc} is error

#

"Can't understand this condition /effect"teleport player to {_loc}"

vestal karma
#

no..

#

teleport all players to ...

deep linden
#

There's an error

vestal karma
#

~~thanks for letting me know 👍 ~~