JJinper 5bfbb03642464b7bb849d573e994d80a
| 이해도 | 입문자 |
|---|---|
| 게임버전 (JE) | 1.12.2 |
| 게임버전 (BE) | 1.12.x |
on rightclick:
if player is sneaking:
if target is player:
send "%the name of the target%"
여기서 send "%the name of the target%" 구문이 에러가 뜨는데 타겟이 플레이어 라는가정하에 그 플레이어 닉네임을 따로 뺴오려면 구문을 어떻게 적어야하나여?

환타비
2025.03.19뭐... 방법은 여러가지 입니다만 그중에 하나 알려드리자면
on rightclick:
if player is sneaking:
if target is a player:
send "%clicked entity's name%" to player
요런 방식이 있겠네요
저는 loop 돌려서 플레이어를 찾는 방법으로 하기도 하는데 본인이 편하신 방법으로 사용하심 될듯 하네요
미미미미누누
2025.03.19감사합니다!!