Skip to content

Flag Manager

Xeltica edited this page Feb 23, 2018 · 2 revisions

Flag manager is a useful system to manage statuses of game.

Many games from other companies also have flag manager.

Flag system of Wyte Engine uses string and boolean pairs.

Kinds of flags

You can use 3 kinds of flags in Wyte Engine.

Flags

They are normal flags. They are saved to file and live permanently.

You should use them for statuses to be saved such as story event.

Skip Flags

They are not saved in data file and available only during gaming.

Area Flags

They have behaviours as same as skip flags and they are destroyed when the engine transitions maps.

Clone this wiki locally