편독
정품인증자
Pyeondog45 446b185891944579b0ab107d100ad048
이해도 | 입문자(아무것도 몰라요) |
---|---|
게임버전 (JE) | 1.17.1 |
게임버전 (BE) | 1.17.x |
스크립트 버전 | 2.6 |
command /게임 [<text>] [<text>]: trigger: if arg 1 is not set: send "/게임 입장 : 게임에 입장합니다" send "/게임 퇴장 : 게임에 퇴장합니다" if arg 1 is "입장": if arg 2 is "1": if {play::%player%} is set: send "이미 게임에 입장하셨습니다" stop else: set {play::%player%} to true add player to {game::players::1} teleport player to location at 2018.5, 8, 28.5 in world "world" send "1팀 게임에 입장하셨습니다" to {game::players::1} stop if arg 2 is "2": if {play::%player%} is set: send "이미 게임에 입장하셨습니다" stop set {play::%player%} to true add player to {game::player::2} teleport player to location at 2056.5, 8, -24.5 in world "world" send "2팀 게임에 입장하셨습니다" to {game::player::2} stop if arg 1 is "퇴장": if {play::%player%} is not set: send "게임에 참여중이 아닙니다" stop delete {play::%player%} remove player from {game::players::1} and {game::players::2} and {game::players::3} and {game::players::4} and {game::players::5} send "게임에서 퇴장하셨습니다" execute player command "/spawn" stop if arg 1 is "시작": teleport {game::players::1} to location at 2025.5, 6, 28.5 in world "world" teleport {game::players::2} to location at 2058.5, 6, -15.5 in world "world" command /확인: trigger: send "%{game::player::1}% %{game::player::2}%" command /삭제: trigger: remove player from {game::player::*} send "삭제가 완료되었습니다"
스크립트 배운지 1주 좀 넘었는데 게임 참가 스크립트 만들다가
add player to {game::players::1}이 적용이 안되는지 확인에서도 확인이 안되고, "1팀 게임에 입장하셨습니다" 라는 문구도 안뜨네요...
왜 그런지 알려주실 수 있으실까요..?
거너아나
2022.01.08플레이어를 팀 1에 더할거면
add player to {game::player::1::*}로 하셔야 합니다
편독
2022.01.08와 진짜 감사합니당
나는인간
2022.01.08와