Last active
June 1, 2022 12:46
-
-
Save triacontane/10d7575445e51f944a2830f57221b113 to your computer and use it in GitHub Desktop.
指定アクターの装備武器名を取得
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const id = 1; | |
const index = 0; | |
$gameActors.actor(id).weapons()[index]?.name || ' '; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
id : アクターID
index : インデックス(二刀流の二つ目の武器を取りたければ[1] それ以外は[0])