The Dink Network

Reply to Save games and globals

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 14th 2011, 03:10 PM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
I was wondering how globals are saved inside the save file.

Is it possible in theory to delete globals from a save file and then reuse those variable "slots" in the dmod on that save later on?

Let me give an example:

I use the global &addon1 in the regular savefile. Now ingame I change map files and reset everything, except I want to continue playing on the same savefile so the stats and items are still intact. So, I wish to delete $addon1 and create a new variable $addon2 that is using the same "slot".