개인 자료란 (JE)

  서버 커뮤니티

Profile 개찌부두순 대표칭호 없음
Profile

질문하기 스크립트

이거 어떻게 해야할까요

2024.01.14 조회 수 30 추천 수 0
이해도 입문자 
게임버전 (JE) 1.20.1 
게임버전 (BE) 관련없음 
스크립트 버전 2.7.3 


function freeze(e : entity):

     set {_e}'s freeze time to 5 seconds

    damage the {_e} by 0.5

    apply potion of slowness  of tier 1 without particles to the {_e} for 0.2 second


이렇게 했더니 

variables cannot be used here 라고 오류가 떴어요.

    




2개의 댓글

피코
2024.01.14

apply potion of slowness of tier 1 without particles to the {_e} for 0.2 second

에서 the {_e} 에서 그냥 {_e} 로 수정하시면 될 거같습니다

변수 앞에서 the는 사용 하지 않는걸로 알고있습니다.

개찌부두순
2024.01.14
@피코

감사합니다!

뉴스 및 창작물
/files/thumbnails/855/781/003/262x150.crop.jpg?20240505141129

레드스톤

레이저 클리너

GlassesFilm

2024-05-05

1

/files/thumbnails/576/775/003/262x150.crop.jpg?20240426232553

아티클

이달의 블록: 단단한 진흙

학교가기싫다

2024-04-26

0

/files/thumbnails/115/774/003/262x150.crop.jpg?20240428135129

업데이트

마인크래프트 1.20.5 정식 업데이트

학교가기싫다

2024-04-24

0

/files/thumbnails/762/770/003/262x150.crop.jpg?20240418073724

레드스톤

T.B.H (고민중독) | 노트블럭 버전 | NoteBlock Cover [한국어 영어 중국어 가사 추가]

노트블럭전문가

2024-04-18

0

/files/thumbnails/218/767/003/262x150.crop.jpg?20240412130213

레드스톤

우리의 꿈 - 원피스 오프닝

노트블럭전문가

2024-04-12

0