Difference between revisions of "Mutable"

From RPG Creation Kit
Jump to navigation Jump to search
(Created page with "thumb|''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 i...")
 
m
Line 6: Line 6:
* '''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.
* '''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.
* '''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, [[Events And Consequences|anywhere]]''', and you can also '''revert its state''' to its original state (and mutate again) an undefined amount of times.

Revision as of 00:09, 26 August 2023

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.