02-18-2010, 04:24 AM
Actually, if it is my battlecry script, it performs a check to see if an audio clip is missing and defaults the audio played to >none<. An error check system as it were to prevent crashing.
But... whatever it is, the error you gave at the beginning... the line itself... shows that the @character array isn't being saved or successfully loaded, so the error has to do with the save/load feature.
Methinks a script you are using 'overwrites' the save or load feature rather than attaching extra code to it.
EXAMPLE
Mycode-script #1 (overwrites save/load and adds 'game_fragglerock value')
Mycode-script #2 (only edits save/load adds 'game_gravel value')
Mycode-script #3 (overwrites save/load and adds 'muppets value')
The scripts combine in a top-down manner in your Scripts Editor, so the last one which 'overwrites' the save/load feature prevents the first two scripts from saving any data.
Check which of your scripts edit the save load or game_title sections. These are key as they can load and 'create' the data your game works with.
But... whatever it is, the error you gave at the beginning... the line itself... shows that the @character array isn't being saved or successfully loaded, so the error has to do with the save/load feature.
Methinks a script you are using 'overwrites' the save or load feature rather than attaching extra code to it.
EXAMPLE
Mycode-script #1 (overwrites save/load and adds 'game_fragglerock value')
Mycode-script #2 (only edits save/load adds 'game_gravel value')
Mycode-script #3 (overwrites save/load and adds 'muppets value')
The scripts combine in a top-down manner in your Scripts Editor, so the last one which 'overwrites' the save/load feature prevents the first two scripts from saving any data.
Check which of your scripts edit the save load or game_title sections. These are key as they can load and 'create' the data your game works with.