Page cover

Introduction

More info about Ultimate Game Facts

Ultimate Game Facts is a library of static functions to add facts globally and per actor which you can read/write anytime throught out entire game session. This eliminates the need of saving multitude of variables or getter/setter function for specific needs.

Think of this system as a database where you can track things that happens at gameplay.

Imagine a scenario, where at Level 1 you defeated an enemy and picked up a key to a door. In Level 5, you need to unlock a door. Traditionally, you'll need to create a variable to read/write the key acquired state, save and load it later when required. But with Ultimate Game Facts, this is an example setup you can create.

An example node setup

Functions

All of the functions in Ultimate Game Facts are static, which means you can call them anywhere anytime.

Main functions

These are the setter and getter functions to set fact tags with or without a value attached to it.

Setter and getter functions

Determine Value Type

If you have a large amount of game facts and unsure about the value type associated with it, you can use this helper function to determine what type of value the given fact has.

Value type check

Save/Load

Ultimate Game Facts offers the ability to save/load global facts manually or automatically.

Cache functions

All Functions

You can find all functions under Ultimate Game Facts Statics when you right click inside an empty graph

All functions

Last updated