メインコンテンツまでスキップ

Has Cosmetic Fact

Checks if a player has a specific cosmetic unlocked.

フィールド

フィールド型デフォルト説明
groupRef<GroupEntry>——
cosmeticIdString—ID of the cosmetic to check.
artifactRef<PlayerCosmeticsArtifactEntry>—Reference to the player data artifact. If empty, tries to find the default one.
TypeWriter 共通フィールド(comment)
フィールド型デフォルト説明
commentString——

How to use it​

Returns 1 when the cosmetic was unlocked for the player and 0 otherwise. Set cosmeticId to the entry ID of the cosmetic definition. A cosmetic that is only available through its permission is not counted, and the artifact field is not read.