AITriggerContent¶
With the AITriggerContent community component, pre-defined messages can be delivered to AI NPCs whenever the player or another object enters or exits from a specific area. Attach this component to any object in the scene to turn it into a trigger zone.
This component includes:
Property | Description |
---|---|
Trigger type | Determines the event that triggers message delivery to the AI NPC.
|
Trigger by | Determines the object that initiates the trigger event. It can be either the player or a specific object from the scene.
|
Object in scene | Specifies an object in the scene that triggers the message delivery to an AI NPC. This option is only visible when Trigger by is set to Scene object. |
Trigger times | Determines how many times the trigger event can occur. |
AI character | Specifies an AI NPC in the scene to receive the message. |
Message content to AI | Enter the message to be sent to the AI NPC. |