Jump to content
frankie86ph

Creating a Campaign Variable

Recommended Posts

Hi everyone,

I was wondering how can I create a variable that can be checked and altered throughout an entire campaign.

I'm currently creating a campaign whereby the narrative/events change based on the players previous actions in earlier missions. As an example; in my first mission the player is given the sub-task of protecting a particular character (this is an optional side task that doesn't effect the overall win/loss of the mission) - if he survives a certain unique event takes place in the third mission etc.

Can someone tell me what scripts I need to run or what files I need to create in order to make something like this work. Alternatively if there's a previous thread or link in wiki that you think might help, please also let me know.

I'd appreciate any help.

Frankie

 

Share this post


Link to post
Share on other sites

SaveVar command

 

BIS_evidenceGathered = 0; saveVar "BIS_evidenceGathered"; //GLOBAL: VALUE OF EVIDENCE GATHERED SO FAR IN THE CAMPAIGN

 

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

×