I'm making a local multiplayer game, and I have two different characters. I want to make it so that the conversation will only become useable by them when both of their proximity selectors are inside of the useable's range.
It doesn't matter which player actually triggers the conversation, as long as it only triggers when they're both in range. Is there some LUA condition I can put into the Dialogue System Trigger conditions, or would a custom c# script be better?
Thanks!
Require Multiple Proximity Selectors Before Starting a Conversation
-
- Posts: 9
- Joined: Fri Jan 03, 2025 8:29 pm
Re: Require Multiple Proximity Selectors Before Starting a Conversation
Hi,
Probably best to make a subclass of ProximitySelector and override the UseCurrentSelection() method to check if both ProximitySelectors' CurrentUsable properties are set to the same value. If so, call the base method.
Probably best to make a subclass of ProximitySelector and override the UseCurrentSelection() method to check if both ProximitySelectors' CurrentUsable properties are set to the same value. If so, call the base method.