Lesson learned: Never try to do anything at 2AM. I have since found the following:
UI - Enable/Disable Command Type
Disable (Smart Click) for (All Players)
Disabling/Hiding Error Messages, Alert panels etc... do not work.
After looking for quite a while to the solution of this annoying problem for those wanting to create single-unit controlled maps like FPS and TPS, I decided to do a big of digging and fix it myself.
The problem is of course having a unit selected, let's say a shop or NPC, and when you right click you hear a noise and one of the following error messages pops up:
You can't control that unit.
You can't issue commands to that unit.
These errors will take the player away from the atmosphere of your game and leave them very confused as to what the errors mean. And even if you could remove the text, that bleep sound that plays would still be heard.
The solution I found is quite simple, I would have preferred unchecking a flag, or having a UI action to remove the error box, but I couldn't find anything. So here is what you do:
Step 1
Open the Text Editor (F8)
Select "All Data" from the Data Source drop down
Wait a few seconds for the list to update
In the list, find the error message. In this case:
You can't control that unit
You can't issue commands to that unit
Click on each and remove all text from the Text Entry box
Depending on your CPU speed, this may take a few seconds for each update
Close the Text Editor
Step 2
Open the Data Editor (F7)
In the Data Type drop down select "Sounds"
In the Data Source drop down select "All Data"
Find "UI_GenericError" and click on it
Double click on "Sound Assets +"
Right click on the sound(s) in the Sounds List and select "Remove Sound"
The error is still triggered, but nothing will be displayed and no sound will be played.
For the other errors that you haven't cleared the text of, they will be displayed but no sound.
Why would you have to go to text editor and sounds to clear all them ? I'm sure there's checkbox to even prevent them from triggered in the Alert tab in data editor.
(Or might be just alert, not error, still you can disable the error frame of the UI with 1 trigger action)
Edit
Lesson learned: Never try to do anything at 2AM. I have since found the following:
Disabling/Hiding Error Messages, Alert panels etc... do not work.
After looking for quite a while to the solution of this annoying problem for those wanting to create single-unit controlled maps like FPS and TPS, I decided to do a big of digging and fix it myself.
The problem is of course having a unit selected, let's say a shop or NPC, and when you right click you hear a noise and one of the following error messages pops up:
These errors will take the player away from the atmosphere of your game and leave them very confused as to what the errors mean. And even if you could remove the text, that bleep sound that plays would still be heard.
The solution I found is quite simple, I would have preferred unchecking a flag, or having a UI action to remove the error box, but I couldn't find anything. So here is what you do:
Step 1
Step 2
The error is still triggered, but nothing will be displayed and no sound will be played.
For the other errors that you haven't cleared the text of, they will be displayed but no sound.
Why would you have to go to text editor and sounds to clear all them ? I'm sure there's checkbox to even prevent them from triggered in the Alert tab in data editor.
(Or might be just alert, not error, still you can disable the error frame of the UI with 1 trigger action)
@progammer: Go
I'm afraid I've tried hiding most, if not all, UI frames, panels and dialogs including those mentioned.
I did find the following to work though: