#How would I make this work?

1 messages · Page 1 of 1 (latest)

civic flicker
#

I'm looking to create a system that teleports a whole team [Rose, Maple] to a specific place in the world for the start of a game (a game where rose and maple would be fighting eachother so they have to be on other sides of the arena. this is what i have so far:
add "IdealTV" to {rose::}
teleport {rose::
} to location(35.500, -36, -85.500, world "maps", -90, 0)
teleport {maple::} to location(101.500, -36, -85.500, world "maps", 90, 0)
IdealTV is my ign, but for some reason it doesnt seem to add to rose? because when i use broadcast to {rose::
} it doesnt work

torpid pagoda
#

"IdealTV" isn't a player, it's a string

#

You need to parse it as a player when adding it to a team

civic flicker
#

how would i go about doing that? sorry i only started learning skript a couple days ago

little crag
#

also use {rose::*} not {rose::}

torpid pagoda
#

Something like ("name" parsed as player) instead of just "name"

torpid pagoda
civic flicker
#

i am using that its just discord uses ** to italisise

little crag
#

oh mb

civic flicker
#

so:
add "IdealTV" parsed as player to {rose::*}

little crag
#

ye basically

torpid pagoda
#

Parenthesis might help

civic flicker
#

in teh brackets?

little crag
#

()

torpid pagoda
#

Like I did in my example

civic flicker
#

ill check it works now

torpid pagoda
#

Kk

civic flicker
#

thankyou!

torpid pagoda
#

Yee

civic flicker
#

should i close the post?

#

i tagged it solved

torpid pagoda
#

Don't forget that expressions are not the same as strings, so you need to parse when you want to tell the game it's an expression and not just text

#

Also yeah go for it