개인 자료란 (JE)

  서버 커뮤니티

Profile limupgrade 대표칭호 없음
Profile

질문하기 스크립트

[스크립트] 스크립트 구문 질문

2023.01.26 조회 수 37 추천 수 0
이해도 초보자 
게임버전 (JE) 1.19 
게임버전 (BE) 관련없음 
스크립트 버전 2.6.4 

플레이어를 빼고 서버안에 있는 엔티티가 300마리가 넘어가면 플레이어를 제외한 모든 엔티티를 삭제할려면 어떻게 해야되나요?

6개의 댓글

크러저
2023.01.26

every 1 seconds:

@if number of all entites >= 300:

@@loop all entities:

@@@if type of loop-entity is not player:

@@@@kill loop-entity

limupgrade
2023.01.26
@크러저

버그나는데요?

크러저
2023.01.28
@limupgrade

죄송합니다. 하나 잘 못 적었네요.

if number of all entites >= 300: 이것을

if number of all entities >= 300: 이렇게 바꿔주세요.

limupgrade
2023.01.28
@크러저

그래도 오류나는데.. 혹시 애드온 넣어야 되는거 있냐요?

 

크러저
2023.01.29
@limupgrade

https://skripthub.net/docs/?id=991 - all entities

https://skripthub.net/docs/?id=967 - number of ~

https://skripthub.net/docs/?id=922 - type of

https://skripthub.net/docs/?id=2145 - entity

https://skripthub.net/docs/?id=1120 - kill

https://skripthub.net/docs/?id=865 - loop-

https://skripthub.net/docs/?id=6350 - loop

https://skripthub.net/docs/?id=2160 - player

모두 skript 기본 구문 입니다.

오류 나는 부분을 캡처하거나 복사해서 보여주세요

limupgrade
2023.01.29
@크러저

if number of all entities >= 300: 부분이 오류가 납니다 알아들을수 없는 컨디션이라네요 ㅠㅠ

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

/files/thumbnails/505/766/003/262x150.crop.jpg?20240411122306

레드스톤

기동전사 건담 수성의 마녀 | 노트블럭 커버 1

노트블럭전문가

2024-04-11

1

/files/thumbnails/932/765/003/262x150.crop.jpg?20240410124459

레드스톤

마인크래프트 노트블록으로 만든 『 밤양갱 (Bam Yang Gang) 』

노트블럭전문가

2024-04-10

0

/files/thumbnails/403/765/003/262x150.crop.jpg?20240409190538

레드스톤

마인크래프트 노트블록으로 만든 『 밤양갱 (Bam Yang Gang) 』

Sonttukk

2024-04-09

4