Tag Facts

TagFacts is a simple subsystem storing a fact database.

This database is a simple TSet of a gameplay tag and an integer.

TagFacts is a free plugin available on my ModularityPractice github repo

Fact systems is extremely common in game studios as it provides an extremely simple interface for handling facts and achievements. This can be used to track what quests have been completed, how many times a player has talked to an NPC or any other "fact" you'd like to keep track of.

There are only a handful of functions you'll end up using majority of the time. The highlights are:

  • IncrementFact

  • DoesFactExist

  • GetFactValue

The other functions are very situational. But when it comes to fact databases, the above functions are the most commonly used.

It also comes with console commands. SetFact will allow you to set the value of a tag during runtime, but it's recommended to use the Integrations debugger instead.

Last updated