View Single Post
  #1  
Old 05-24-2012, 06:55 AM
podvoxx podvoxx is offline
Senior Member
 
Join Date: Feb 2010
Posts: 190
Default The use of global variables

Is there a way to use the same variable in the host-mission and submission without using a .txt-file(for save variables)?

For example:
In host mission script I have count of planes
Code:
int countPlanes = 5;
In submission script I need to change this:
Code:
int countPlanes -= 1;
It is necessary to divide the script menu and script statistics, but they used to share data.

Now I now about this variant - http://www.sukhoi.ru/forum/showthrea...=1#post1766444

There are other alternatives a more simple than this? Maybe new class on dll help on it?
Reply With Quote