Re: Simple gifting based on items?
Posted: Thu Sep 15, 2022 9:48 pm
ok cheers!
more questions lol..
Is there an event i can subscribe to when the dialogue system disables/moves the current active camera?
Or is there some sort of public variable tracking the current active camera?
It's just i have a fairly simple look-at script and its currently looking at the wrong camera when conversation starts.. I can get around this by putting in a function on a delay after conversation starts that searches through cameras in the scene and finds the 'not disabled' camera...
But i figured i'd ask because i'm guessing you're tracking it somewhere and my solution probably isn't very performant lol.
cheers again!
more questions lol..
Is there an event i can subscribe to when the dialogue system disables/moves the current active camera?
Or is there some sort of public variable tracking the current active camera?
It's just i have a fairly simple look-at script and its currently looking at the wrong camera when conversation starts.. I can get around this by putting in a function on a delay after conversation starts that searches through cameras in the scene and finds the 'not disabled' camera...
But i figured i'd ask because i'm guessing you're tracking it somewhere and my solution probably isn't very performant lol.
cheers again!