Okay, so it still doesn't work, but at least now I don't have the warnings. :wink:
In previous iterations, the Description was visible, but now it isn't showing up. So basically, we're back to the initial state - no Objective is selected and the att…
I'm afraid still doesn't work.
I have this error for each of the three buttons I have with the script attached.
I share some more screenshots of the setup:
https://imgur.com/a/ulJureF
NullReferenceException: Object reference not set to an instance…
Could not find Menu for Canvas ObjectivesUI(Clone) (UnityEngine.Canvas)UnityEngine.Debug:LogWarning (object,UnityEngine.Object)ForceSelectObjective:OnEnable () (at Assets/Detective_AC/Scripts/ForceSelectObjective.cs:13)UnityEngine.Object:Instantiate…
I'm attaching your script to each button slot defined in the Objectives Menu.
The errors get triggered when I open the Objectives menu.
https://imgur.com/a/LbrI8Lf
Sorry to jump into the conversation, but I remember something similar happened to me when I was beginning to use AC. It turned out I had the entities disabled in the Editor view. Be sure you can see them there by enabling the right option.
https://…
Hey! Sorry for the late reply - been swamped with other stuff.
So I tried what you suggested and swapped out "HideSelectedObjective" for "ShowSelectedObjective" in the "ActionList when turn on" field.
It's working... s…
This is debug implementation but it shows the issue.
I declared two objectives. I toggle the "Select After" option in the "Test Objective 2" so the expected behaviour would be that the description is displayed once I open the obj…
Ok, then in my current implementation is not working. Should I took into some specific settings?
Also, for future updates, it would be really helpful to have an option to hide or remove specific objectives. My list is getting pretty cluttered at thi…
Maybe I'm confusing in the way I understood it.
I thought you meant that using the Select After option selects the objetive in the list, showing the player the description of the objective. But I think you are describing something else.
I want to add that in 1.81.4 I don't see the objective being automatically selected in my list, even with that opcion enabled. I have to manually go through the list of objectives and scroll to the bottom to find the latest objective updated.
Update: I found the culprit. It's the PlayerStart in the scene. For some reason is locking the mainCamera FOV. After deleting it, I can control the value on real time again. I might need to make a work around but I'd like to ask, is this as designed…
Thanks Chris! I actually discovered that keeping inventory objects selected at all times works better for my first-person game. During playtesting, several players mentioned it was tedious having to reopen the inventory and reselect objects every ti…