Hello I,v created custom inventory opener button (bag),
and now this Bag, as well as Pause button is flashing whenever I click on any hotspot
(use or examine).How to fix this problem ?
I will be verry thankfull for sollution.
Here is example video where You can se the problem:
Thanks
Wojciech Witowski
Indor Entertainment
Comments
In future, please post timestamps when a video is required to see the problem. The video shows the issue, but no detail about your Menus or your Interactions. Screenshots of your Menu's properties, and a sample ActionList will be necessary if the problem persists.
However, I suspect that this is because you've set your Menus to appear during gameplay - meaning when a gameplay-blocking ActionList or Cutscene is run, they'll disappear for the duration, even if it's only a frame.
Any ActionList or Cutscene can be set to Run In Background via it's When running field in the Inspector. If the Actions only occur over one frame, it's safe to set this for your Interactions. If instead you want full control over when your Menus are shown, you can set their Appear type setting to Manual, and then use the Menu: Change state Action to turn them on and off as needed.
As the Menu's Appear type is During Gameplay, it wil disappear whenever a gameplay-blocking ActionList is run. You could ensure that all your ActionLists are set to Run In Background, but bear in mind that this will affect your gameplay as well - i.e. the player will still be able to interact / move around etc while they should be prevented.
If you want to ensure there's no flickering, and stay in control over when the player can and can't interact, set the Menu's Appear type to Manual, and use the Menu: Change state Action to turn on and off as needed.
If the Appear type is On Input Key, then it will respond to the input named in the Menu's Toggle key field. Enter in a name such as "Menu", and define that input in your Input Manager, mapped to the escape key ("escape").
Alternatively, for greater control over how or when an input key is used by AC, you can use Active Inputs. See section 2.14 of the Manual - they basically allow you to run ActionLists whenever an input is pressed under certain conditions. You can then use a Menu: Check state Action to determine if the Menu is on or off, and follow it up with a Menu: Change state to turn it off or on accordingly.