Jump to content
Sign in to follow this  
FHP_Intercepter

People killed in one mission not in next?

Recommended Posts

I'm making a small series of missions and I want to make it so if someone in your squad is killed they won't be in the next mission.

Also, is it possiable that if one of your squad mates picked up, say an rpg, in one mission they would start with it in the next?

Thank you for your time.

Share this post


Link to post
Share on other sites

If you got resistance, depbo it and look how they did it.

Share this post


Link to post
Share on other sites

Taken from the unofficial command reference

Quote[/b] ]

Command :

SaveVar

Description :

Allows you to save variables from one mission to the next mission in a campaign.

Syntax :

SaveVar  variablename

Variablename is the name of the variable to save. It is necessary to enclose it in quotes.

Returns :

N/A

Example:

SaveVar  "houseDestroyedFlag"

Notes:

It is not necessary to load a variable in the next mission. It is automatically loaded.

Just save a variable indicating if a team mate is dead or not. Some with the weapon thing. wink_o.gif

Share this post


Link to post
Share on other sites

Thanks a lot!

J-Man: So I should type savevar "unitname" in the units init line? And the game knows to load it next time around?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×