Hi Meridian, I wish to post this here because I can't attached zip files in personal messages.
Here is the script, which a scripter has generously donate to me. The coding works in certain situations.. not all the time.
The scripter has left extensive notes in his script.
How it work is, Mana stats has been renamed Genetic Instability.
After soldier transformation and the soldiers are cloned. How this script works is, their biological clock or life starts, as soon as the clone soldiers was put into the first availble battlescape mission as a trigger. After the trigger mission is done, the soldier's biological clock starts.. how many days they lives is define in the script.. and then once the soldier's life/days times up. The stats of the soldier crash to nothing.
The script works, it has a counter and it does the crashing job, but not together as planned.
One side of the problem is, the counter doesn't start and after the trigger mission, all the clone soldier's stats crash to deep end immediately when the mission ends.
The other side of problem is, the counter is there, but once it ends. Nothing happen. I am going to send you a transcript of the email as a reference and notes.
The coding of it is beyond my skill to unravel, since you are an experience coder. Perhaps you can help me out.