개인 자료란 (JE)

  서버 커뮤니티

Profile 둥둥키 대표칭호 없음
Profile

질문하기 스크립트

무적귀환

2024.07.14 조회 수 54 추천 수 0
이해도 초보자 
게임버전 (JE) 관련없음 
게임버전 (BE) 관련없음 

command /무적귀환:

    trigger:

        if {cool.%player%} is not "false":

            cancel event

        set {god.%player%} to "true"

        message "무적귀환 대기 중" to player

        apply blindness 99 to the player for 2 seconds

        wait 1 seconds

        play sound "ENTITY_ENDERMAN_TELEPORT" with volume 1 and pitch 1 at player

        execute console command "mvtp %player% world"

        set {god.%player%} to "false"

        set {cool.%player%} to "true"

            

    

command /평수초기화 [<player>]:

    trigger:

        if player is op:

            set {cool.%arg-1%} to "false"

            

on damage:

    if {god.%player} is "true":

        cancel event

이렇게 구문을 작성 하였는데 4번째줄 cancel event과 마지막줄 if {god.%player} is "true":이 오류가 납니다 인게임에서 적용 해봤을때 명령어를 쳐도 대미지가 들어오고 한번 사용해도 명령어가 다시 쳐집니다 어떻게 해결해야될까요?




1개의 댓글

환타비
2024.07.15

"true" 이거를 true 따옴표를 빼서 작성 해보세요

뉴스 및 창작물
/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