OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bigcheese on 01 Feb 2004, 13:32:45

Title: Saving to scripts
Post by: bigcheese on 01 Feb 2004, 13:32:45
Hi

How do you permanently save information to a script from in the game?

Thanks in advance

BIGCHEESE
Title: Re:Saving to scripts
Post by: Spinor on 01 Feb 2004, 23:17:51
Unfortunately, this is not possible. There is no saveFile command, as compared to the existing loadFile command.

With the commands saveIdentity, saveStatus and saveVar, you can store some stuff, but this works only within campaigns.
Title: Re:Saving to scripts
Post by: Extreme Studios on 07 Feb 2004, 15:47:55
You can do it with the command 'save' on it's own (like save playerpos), but it'll take years to write a script that'll take everything into account.