Перейти к контенту
Медиа 1 для объявления Simple Facts Manager

Описание

Simple plugin for managing facts which can track various data: narrative facts (has player talked to NPC2? has player made an optional action in quest? how many times player failed some puzzle?), achievements (just count how many actions were done and check if it is enough for achievement), other in-game data.

OVERVIEW

Fact is just a FFactTag, stored inside TMap in UFactSubsystem. If TMap does not contain some FFactTag, it means that such Fact is not defined yet, but can be defined later. All subtags of "Fact" tag are counted as valid possible Facts. Value of Fact is int32. This should be enough for covering basic needs. For example, it can be used as boolean (0 is false, 1 is true), integer (obviously), float (range [0,1] with 2 digits precision can be represented as int range [0,100]).

DEBUG

Plugin provides Fact Debugger window, which allows to monitor and change Fact values at runtime. Window can be opened in editor, -game mode or Debug/Development builds by navigating to Tools > Debug > Fact Debugger (only in editor) or by console command Facts.Debugger.

Full source code and more detailed documentation is available on GitHub: Simple Facts Manager

Note: GitHub source code does not contain TypedGameplayTags.h, it is moved to a separate plugin.

Включённые форматы