It won't show any error on the object parameter when a behavior parameter is empty but the object do have the behavior attached. This can happen when the behavior is attached after the instruction was added.
In this case:
The game won't run as expected
The diagnostic report will show up
The behavior parameter is filled automatically when users open the instruction editor (and they won't understand what was the issue)
We could launch a refactor on the events to fill behavior parameter when a behavior is attached to an object.
Changes
There is a double error message when 1st selecting an instruction.
When coming back to the instruction editor, the error on the behavior is still understandable by itself.
The error is displayed directly in the event sheet.
Contrary to what is done for capabilities, object with missing behavior can still be selected to allow users to realize they must add it to them.
Known issue
It won't show any error on the object parameter when a behavior parameter is empty but the object do have the behavior attached. This can happen when the behavior is attached after the instruction was added.
In this case:
We could launch a refactor on the events to fill behavior parameter when a behavior is attached to an object.
Changes