I am using unity 2019.3.0f1 and Dialogue System 2.2.12
- I have an object A with a dialogue system trigger set to OnUse, used to trigger a conversation.
- i have an object B with a dialogue system trigger set to OnUse, used to set some LUA variables, and is called via Script
Here is my issue, and im not sure if its a feature or a bug :
The object B OnUse() seems to get called when Object A OnUse() is called
When OnUse() is called on a object, is it expected that all the children OnUsed() will be called ?
thanks !!
Dialogue System trigger : OnUse() calling children ?
Dialogue System trigger : OnUse() calling children ?
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
Previous game made with Dialogue system ->The Spirit and The mouse<-
Re: Dialogue System trigger : OnUse() calling children ?
Hi,
It depends on how you're calling OnUse(). If you're using a Selector or Proximity Selector, UNtick 'Broadcast To Children' if you don't want OnUse() to be called on children.
It depends on how you're calling OnUse(). If you're using a Selector or Proximity Selector, UNtick 'Broadcast To Children' if you don't want OnUse() to be called on children.
Re: Dialogue System trigger : OnUse() calling children ?
thanks ! that was it, i was having a hard time debugging why it was happening, thanks a lot
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
Previous game made with Dialogue system ->The Spirit and The mouse<-
Re: Dialogue System trigger : OnUse() calling children ?
Happy to help!