Select Only One Usable at a Time
Posted: Sat Dec 25, 2021 3:59 pm
Hi,
I am using the Usable and Dialogue System Trigger to start conversations.
The problem I am having is that my players trigger colliding box is a bit big and sometimes when two usable objects are placed close to each other, they will be selected at the same time. (By "selected", I mean I have an "on trigger enter" on both objects and both of them would appear a yellow outline for example.)
I am wondering if I could achieve the following:
When the second object's "trigger enter" is activated, the first object cannot be selected (disable the Usable temporarily?). So that there is no confusion on which one is currently being selected.
If I didn't explain the question clearly enough please let me know.
Thank you very much!
I am using the Usable and Dialogue System Trigger to start conversations.
The problem I am having is that my players trigger colliding box is a bit big and sometimes when two usable objects are placed close to each other, they will be selected at the same time. (By "selected", I mean I have an "on trigger enter" on both objects and both of them would appear a yellow outline for example.)
I am wondering if I could achieve the following:
When the second object's "trigger enter" is activated, the first object cannot be selected (disable the Usable temporarily?). So that there is no confusion on which one is currently being selected.
If I didn't explain the question clearly enough please let me know.
Thank you very much!