Yup as Smallg said, for basic variables you don't need to edit the save/load scripts.
All you do is add g_ to the variable names.
For example if you had the following script:
function script_init(e)
spoken =0
end
function script_main(e)
if GetPlayerDistance(e) < 100 and spoken == 0 then
Prompt("i am speaking here",3000)
spoken = 1
end
end
To get the spoken variable to save, just change it to:
function script_init(e)
g_spoken = 0
end
function script_main(e)
if GetPlayerDistance(e) < 100 and g_spoken == 0 then
Prompt("i am speaking here",3000)
g_spoken = 1
end
end
I think that's right
i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.