Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • 1 18996468-Dulst-Community-TEST
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kaoru Aoi
  • 18996468-Dulst-Community-TEST
  • Wiki
  • Save

Last edited by Kaoru Aoi Apr 08, 2020
Page history

Save

You can save long-term data to a player's library 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.

To save arbitrary data to the player's library, first set the player's save property to the data that you want to save. Running the save action will then save it to the library.

To easily set the data into the save property, use the set data to player action (https://dulst.com/animalkingdom/cards/9059501/set-data-to-player) that comes with most templates, it makes the process trivial.

Accessing save data

The saved data is accessible on every subsequent match by selecting the player through the effect builder. It is in the data property of the player. You can access it by using the dot syntax. Check it out in console with dulst.view('player1')

Clone repository
  • AI Config
  • Achievements
  • Advanced Effect Building
  • Animal Kingdom
  • Animated Cards
  • Card Rarity
  • Copying Cards and Effects
  • Custom Action
  • Custom Actions
  • Dedicated Servers
  • Editing Cards
  • Effect Building
    • Basic Effect Building
    • Effect Triggers
  • Game Development Service
  • Game Making
    • Beginning Game Customization
View All Pages