개인 자료란 (JE)

  서버 커뮤니티

Profile 스폴0706 정품인증자

_SPOL e7e8fcd7865b4054924da4a2c10867df

Profile

이해도 초보자 
게임버전 (JE) 1.20 
게임버전 (BE) 관련없음 
스크립트 버전 2.8.7 

직접 스크립트 구문을 만들다가 오류가 나서 혹시 1.20 버전 이상을 지원하는 맨헌트 형식의 나침반이 아닌

/추적 <player> 를 입력하였을때 나침반이 인벤토리에 들어오면서 그 플레이어를 가르키는 스크립트가 필요합니다 

오늘 3시쯤 마인크래프트 컨텐츠를 할려고 여러 구글링도 해봤는데 도저히 자료가 나오지 않네요


command /추적 <player>:

    description: Use this command to track a player by right clicking with a compass

    trigger:

        set {target::%arg-1%} to arg-1

        send "<yellow>You are tracking %{target::%arg-1%}%"

        give compass to player


on rightclick with a compass:

    if {target::%player%} is set:

        if {target::%player%} is in world "world":

            set {_location} to location of {target::%player%}

            set player's compass target to {_location}

            send "<light green>Compass is now pointing to %{target::%player%}%"

        else:

            send "<light red>%{target::%player%}% is not in the Overworld"

    else:

        send "<light red>No target set. Use /추적 <player> to set a target."

이게 구글링 후 수정도 해보고 한 스크립트인데 작동하지 않습니다. 초보라 그런지 잘 모르겠네요

Warning
댓글이 없습니다.

새로운 댓글을 등록해 주세요!

뉴스 및 창작물
/files/thumbnails/578/899/003/262x150.crop.jpg?20241010142350

건축

경주 월정교 1

KHC

2024-10-10

1

/files/thumbnails/219/899/003/262x150.crop.jpg?20241009200950

건축

송전탑+도시 2

dbasd12

2024-10-09

2

/files/thumbnails/246/898/003/262x150.crop.jpg?20241008102328

레드스톤

단다단 - 오토노케(オトノケ) | 마인크래프트 노트블럭 커버

노트블럭전문가

2024-10-08

1

/files/thumbnails/348/896/003/262x150.crop.jpg?20241006103035

디도스/봇테러등등을 낚는 방법 4

물귀신

2024-10-06

3

/files/thumbnails/839/895/003/262x150.crop.jpg?20241006021227

SRV레코드는 보안도메인이 아닙니다. [서버오픈시 필독]

물귀신

2024-10-05

4