2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Minecraft Skript 入門編 Part.5 空間にプレイヤーがいることを確認する

Last updated at Posted at 2020-05-14

空間にいるプレイヤーとは...?

二つの座標間にいるプレイヤーのことです。
このシステムは私がわからずとあるグループにて質問した結果このやり方を知りました。

一種のメモとしても残させていただきます(企画作成に使えるんですわ、これが)

コード

code.sk
command /test:
    trigger:
        location of player is within {first.location} and {second.location}
        broadcast "プレイヤーが範囲内にいます"

within <location> and <location>という構文はよくloop within <location> and <location>という形で使用されるのですが<location> is within <location> and <location>という形でも使えたんです。

次はコチラ

前はコチラ

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?