Author Topic: Variables?  (Read 123 times)

0 Members and 1 Guest are viewing this topic.

Could somebody who exactly knows what's going on update the wiki article on variables? I know there was a major change a while ago, but I dunno how stuff exactly works so I can't do it myself. Last update was in Feb 2013, article is completely obsolete right now.
https://wiki.hard-light.net/index.php/Variable

Apart from that, Mobius wanted to know which variable variant is required to load the hull strength on a ship in the next mission.

 

Offline wookieejedi

  • 29
  • Intensify Forward Firepower
Sure. Mobius should use `Save on Mission Complete` Also a new feature is if you hover over the variables it will give more info in FRED.

EDIT: Wiki updated.
« Last Edit: June 30, 2020, 01:10:57 pm by wookieejedi »

 
Awesome, many thanks for that! :) :yes:

 

Offline Mobius

  • Back where he started
  • 213
  • The Lightblue Ribbon
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Thanks for the details. On a side note, I was actually looking for campaign-persistent variables. We used to have those but they no longer show up in the latest FRED builds.
The Lightblue Ribbon | Website

The Inferno Series: Inferno: Nostos - Inferno: Alliance
FSCRP Contributions: Deep Blood - Warzone
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

  

Offline wookieejedi

  • 29
  • Intensify Forward Firepower
`campaign-persistent` variables are now `Save on Mission Complete`. Eternal variables are what `player-persistent` should have been, and `Save on Mission Close` are a new type to cover additional cases.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
`campaign-persistent` variables are now `Save on Mission Complete`. Eternal variables are what `player-persistent` should have been, and `Save on Mission Close` are a new type to cover additional cases.

Slightly wrong. Save on Mission Close are what player-persistent variables were when persistent variables were originally added. A bug changed the way they worked a couple of years ago. Eternal is a flag you can add to BOTH Save on Mission Complete and Save on Mission Close to tell the game to not delete that variable even if the campaign ends or a different campaign is started.
« Last Edit: June 30, 2020, 07:56:45 pm by karajorma »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline wookieejedi

  • 29
  • Intensify Forward Firepower
Ah that makes sense, thank you for the correction. I have also updated the wiki with your clarifications.