DJOlmstead 0 Posted April 29, 2003 I am working on a mission where I want a sniper to stay in a position laying down for the whole game. How ever the following code doesn't accomplish what I want: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setunitpos "down"<span id='postcolor'> I put that into the unit init line, and even tried naming the unit and putting it in a waypoint. However, nothing works. It just stands there doing nothing. What could I do to correct this problem? Also, I downloaded a program that i used to write basic scripts, but I have no idea where to put them in order for them to run in my mission. I am aware on where to put them in the mission, but what folder do I put it in? Share this post Link to post Share on other sites
Winters 1 Posted April 30, 2003 I dunno why - this setunitpos "DOWN" - wont work for you but the second part of you question, you put all the scripts into the mission folder, they don't go in a seperate folder. Share this post Link to post Share on other sites
DJOlmstead 0 Posted April 30, 2003 Thanks for replying. I'm running v.1.46, and I set the unit i wanted to be down on a hill. Could any of this be the problem? Maybe someone could enlighten me? Anyway, the script answer was very helpful, if somewhat embarrassing on my part. Sometimes the obvious doesn't hit me like it should... Share this post Link to post Share on other sites
Winters 1 Posted May 1, 2003 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (DJOlmstead @ 30 April 2003,16:05)</td></tr><tr><td id="QUOTE">Sometimes the obvious doesn't hit me like it should...<span id='postcolor'> we have all been there my friend Share this post Link to post Share on other sites