scp-fs2open / fs2open.github.com

Origin Repository for SCP FreeSpace 2 Open
https://www.hard-light.net/
Other
401 stars 161 forks source link

Eternal Variables are not available to single missions #3412

Open MjnMixael opened 3 years ago

MjnMixael commented 3 years ago

I suspect this is currently by design, but I'm unsure. I have a situation where I'd like some kind of Eternal variable to be available mod wide, across campaigns, single missions, and any other situation that might arise.

My particular use-case is unlocking bonus ships mod-wide. This is the first of at least two hurdles I have run into.

MjnMixael commented 3 years ago

Still waiting on some kind of solution to this...

Karajorma commented 2 years ago

It definitely is by design and I'd be loathed to add yet another flag to SEXP variables to handle this.

How about a mission specs "Allow Eternal Variables in techroom" flag? Of course, that would require mission specs to be parsed before variables and I can't remember if they are.

MjnMixael commented 2 years ago

That would be excellent. Gets the job done without complicating variables further.