HasHiddenItem¶
This method tells if the NPCControl pertains to an item that is discoverable by the Detector Medal. It only returns true if all of the following are true (it returns false otherwise):
- The
entitytypeis Object - The player has the Detector equipped
- The
interacttypeisn't CaravanBadge or Shop - The
NDTCTModifier isn't enabled - Either the
DDISTModifier isn't enabled or it is, but the player's z position is less than 20.0 away from this transform z position - The
objecttypemust belong to a specific set on top of an additional condition for the method to return true. Consult each's documentation to learn more: