Component > Dialogue System > Trigger > On Dialogue Event > Set Active
Set Active On Dialogue Event sets GameObjects active or inactive when it receives a dialogue event message.
Property | Function |
---|---|
Trigger | The trigger event |
Once | Do this once and then destroy this component |
On Start | Conditions and GameObjects to set when the dialogue event starts (e.g., "OnConversationStart") |
On End | Conditions and GameObjects to set when the dialogue event ends (e.g., "OnConversationEnd") |
When an actor is in a conversation, you may want to temporarily deactivate certain gameplay GameObjects until the conversation is done. This component can be configured to deactivate GameObjects when a conversation starts, and then re-enable them when the conversation ends.
You can use it for other dialogue events, too. For example, you could enable disable or enable GameObjects OnConversationEnd by setting the conditions to check for values that may have changed during the conversation.
<< Components