Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: ShivanSpS on April 11, 2006, 02:45:49 pm

Title: There is any way to use data of a previuos mission?
Post by: ShivanSpS on April 11, 2006, 02:45:49 pm
I need to save datas of a previuos mission in my campaing... thee is any way? incluiding, player ship damage, weapons, and a few other things like now many ships of a convoy of they proteting survived the last mission and their respective damage %....
Title: Re: There is any way to use data of a previuos mission?
Post by: Nuclear1 on April 11, 2006, 02:51:07 pm
The Red Alert option is probably what you're looking for, at least it's the easiest way. Campaign-persistent variables are more difficult. Take a look at karajorma's FAQ for that one (linked at the very top of the HLP banner in the scroll box).
Title: Re: There is any way to use data of a previuos mis
Post by: karajorma on April 11, 2006, 02:56:07 pm
Yep. Red Alerts will do most of the work for you but they are limited to taking those amounts from the immediately preceeding mission (Like the last two missions of the main FS2 campaign). If you want to do anything more complex than that you'll need to use persistent variables. If you don't know how to use variables I cover those in the FRED help. PVs themselves are covered in the FRED2_Open help.
Title: Re: There is any way to use data of a previuos mission?
Post by: ShivanSpS on April 13, 2006, 02:26:26 pm
Thanxs.