For the complete documentation index, see llms.txt. This page is also available as Markdown.

UI Nav Markers Must Be Enabled Each Round

UI Nav Markers must be re-enabled with the Set Nav Marker Enabled node at the start of every round.

Cover image

Navigation markers implemented in Forge may appear to stop functioning once a round concludes. This behavior is expected and can be addressed by refreshing the marker status for each new round.

UI Nav Marker example
A UI Nav Marker displays a name, icon and its distance to the player.

Marker Persistence

When designing navigation systems, developers can build a list of UI Nav Markers at the start of the game. This list is not cleared when a round ends, meaning the same marker references remain valid and can be accessed in subsequent rounds.

Refreshing Markers

Because markers do not automatically reactivate when a new round begins, the Set Nav Marker Enabled node must be used to make them visible again.

Implementation Workflow

To maintain functional markers throughout a match, the following workflow is recommended:

  • Game Start: Create and store a list of all necessary UI Nav Markers.

  • Round Start: Iterate through the stored list and pass each marker into the Set Nav Marker Enabled node.

Set Nav Marker Enabled node
The Set Nav Marker Enabled node is used to toggle the visibility of a marker.

Since the list of UI Nav Markers persists across rounds, you do not need to rebuild the list at the start of every round, but they must be re-enabled every round.


Source Data

Contributors

Okom

Last updated