Old Script still running

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

AeroSeven
Posts: 1
Joined: Sun, 31. Jan 21, 05:15
x4

Old Script still running

Post by AeroSeven »

Hi,

I'm new to modding and am having an issue with getting a script to update.

I've tweaked values in an older script and repacked my mod. When I start a new game, everything works as expected. But if I load an old save (created using the older version of my mod), it appears that the old script is continuing to run and not using the adjusted values.

Is there a way to fix this?

Thanks!
User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13485
Joined: Sun, 15. Feb 04, 20:12
x4

Re: Old Script still running

Post by euclid »

Welcome AeroSeven,

Stop the script, save your game, then update the script, load the saved game and then run your script.

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

Return to “X4: Foundations - Scripts and Modding”