AICharacterUIChatRange¶
This AICharacterUIChatRange community component determines a radius around the NPC within which a start chat button will be displayed. Attach this component to an AI NPC so you can customize the distance at which the start chat button becomes visible to the player. For a smooth gaming experience, it's recommended to attach only one AICharacterUIChatRange component to an AI NPC.
This component includes:
Property | Description |
---|---|
Display distance | Determines the radius within which the start chat button is displayed. Default: 2. |
Related components¶
This component must be used with the AICharacterUI component, which activates the chat button.
This component is usually used together with AICharacterMain component and the NPC feature (available via + Feature>Gameplay>NPC).