Luk 0 Posted April 13, 2003 In my mission plane is flying in height 30m so when i try to "createvehicle" a flare on its position, the flare starts to burn very low and it lasts very short. Is there a way to change coordinates of created flare so it would be created above the plane and started to shine on its height? Thanks for any tip... ...sorry for my bad english Share this post Link to post Share on other sites
Guest jacobaby Posted April 13, 2003 You have to get the timing right. Create the flare and setpos it somewhere very high. Then on your timing calculations, setpos the flare to the back of the plane after so many seconds so that the simulation is at the proper stage. TJ Share this post Link to post Share on other sites
payden 0 Posted April 17, 2003 Make a trigger </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> init : [plane] exec "flare.sqs"<span id='postcolor'> flare.sqs: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _plane = this select 0 _planex = getpos plane select 0 _planey = getpos plane select 1 _planez = getpos plane select 2 _flare= "flare" camcreate _flare setpos [_planex, _planey, _planez+15] exit <span id='postcolor'> this should work I hope Share this post Link to post Share on other sites