Herr Doktor 0 Posted May 12, 2005 Hi, I am just making a Mission for OFP. I used some custom textures for individual Soldiers. Unfortunately when the game was reloaded the textures are invisible. Due to that fact I wrote a Script to reload the textures. Now I would like to know how the script could be automatically (so not by radio 0-0-x) exec after the game had been reloaded. Thanks for your help in advance Share this post Link to post Share on other sites
vektorboson 8 Posted May 12, 2005 I read that OFP resets the time-variable to 0 when you reload the mission. So make a script like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ~1 @time < 1 ; reset all the stuff ... ... Share this post Link to post Share on other sites
Herr Doktor 0 Posted May 12, 2005 I didn't know that before. Thanks, it just work perfect Share this post Link to post Share on other sites
hardrock 1 Posted May 12, 2005 you should do otherwise though, since the @ command hits very bad on the performance. Change it to <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">~.5 #wait ~1 ? (time>=1) : goto "wait" ; reset all stuff Share this post Link to post Share on other sites