Mutable

From RPG Creation Kit
Revision as of 00:09, 26 August 2023 by Silvematt (talk | contribs)
Jump to navigation Jump to search
Mutable_FirstMainQuest_Goto in the cell "Virrihael (0,1)".

Mutables are a special kind of Object in the RPG Creation Kit that allow to show/hide GameObjects in base of the state of the mutable, that is represented by a simple value true or false.

They are saved on the Save File and they serve two important purposes:

  • Transforming an Object into another. For example, there are 2 models of the same statue, one that has the statue intact, the other one broken - after a quest the statue has to be broken - the Mutable allows to remember when the intact statue needs to be active and when it needs to be replaced by the broken one.
  • Enabling/Disabling GameObjects while having their state saved on the save file.


The important thing to notice is that you can mutate a Mutable anytime, anywhere, and you can also revert its state to its original state (and mutate again) an undefined amount of times.