|
|
You can save long-term data to a player's profile through the save action in the effect builder. It is great for creating game modes where the player's progress carries on through multiple matches. Example modes: singleplayer Rogue-like modes, multiplayer arena or battle royale modes.
|
|
|
|
|
|
Select game properties when saving data to profile. Use the dot syntax to select deep into the game. For this action, the context is automatically the game.
|
|
|
|
|
|
```
|
... | ... | @@ -5,6 +7,10 @@ player1.hand |
|
|
player1.maxMana
|
|
|
```
|
|
|
|
|
|
When selecting a map location to save, the [ciid](ciid) array will automatically convert into a [nid](nid) array. Saving changes to cards can be done as player or game variables.
|
|
|
Saving the cards a player owns.
|
|
|
|
|
|
In some modes, you may want a player to select cards and then carry those cards throughout the game. To save those cards, select their [nid](nid) and save them to an array. Then save that array.
|
|
|
|
|
|
Saving changes to cards can be done as player or game variables.
|
|
|
|
|
|
[[Load]] |
|
|
\ No newline at end of file |