Introduction
This system helps with managing how "significant" an actor is via the MassAgentComponent and the FSignificanceFragment
.
You will want to add the Significance Trait
to your agent and assign the settings you want to handle your significance.
There are several ways to evaluate significance, it is not a binary answer. For example: You want a health bar to appear above an enemy when they are:
Near the center of the screen, OR within a certain range of the player
Have line of sight to the player
Then you might want to hide the health bar depending on if the above conditions are met, BUT they are not near the center of the screen, but still in your designated range. In this case, you can assign multiple ranges in some cases. It is up to each level of "significance" to be implemented per system that wants to utilize this.
Last updated