Jump to content

Search the Community

Showing results for tags 'getmoddata'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 2 results

  1. I'd like to load getModData() of the player to a local table. Then I'm going to save it every time it's changed. What is the best event to load the data?
  2. PzNation

    Persisting Data

    It looks like getModData() can be used to attach custom data to a specific object. Is there a standardized way to persist information outside of this? For instance, It seems a few mods use get getGameTime():getModData(), which seems to store the information in map_t.bin, but I've read that this data could potentially be deleted during a soft reset. Another option would be to use the file system, possibly through bcUtils.writeINI/bcUtils.readINI. Does anyone have any information on this, and how to go about persisting this data "server side"?
×
×
  • Create New...