Blind Guardian 0 Posted January 17, 2002 i want to create a mission and it is on kolgugelv and there is no airports. ...For example, i want to call two f-16 but i want them to strike at the good time, not fly around until i command them by radio alpha to attack... i want to call by radio alpha but when i call, the jet apear on the map.... is it possible Share this post Link to post Share on other sites
TheDarkFox 0 Posted January 17, 2002 Give this a shot: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Plane_Unit = "A10" createVehicle [getMarkerPos "SomeMarker"]<span id='postcolor'> Just make sure you place a marker named "SomeMarker" where you want the plane to appear. (I put the code for an A10 in, since I've never seen an F16... Cheers Share this post Link to post Share on other sites
Blind Guardian 0 Posted January 17, 2002 tks, well the f-16 is an addon , i don t remember where i got it but its relly cool flying at 900 m/ph....anyway tks again Share this post Link to post Share on other sites
Blind Guardian 0 Posted January 17, 2002 i have juste tested it, and i got an error: error generic in expression...something like that.. Share this post Link to post Share on other sites
TheDarkFox 0 Posted January 17, 2002 Try without the square brackets: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Plane_Unit = "F16" createVehicle getMarkerPos "SomeMarker"<span id='postcolor'> Share this post Link to post Share on other sites
Blind Guardian 0 Posted January 17, 2002 alright it worked perfectly with the f-16 but i have something to ask again ... is it possible to make it fly with someone inside Share this post Link to post Share on other sites
4ntifa 0 Posted January 17, 2002 Try this: "SoldierWPilot" createUnit [getPos Plane_Unit, group, "this assingAsDriver Plane_Unit; this moveInDriver Plane_Unit", 0.7, "CAPTAIN"] (replace group with the group you want to assign him to) Share this post Link to post Share on other sites
Blind Guardian 0 Posted January 17, 2002 i mean, when you place a pane and select special: flying, in formation, in cargo....it fly when it enter the map..i want the plane fly when it enter the map... anyway if it is not possible i will try it with an harrier.. but if have no choice.... Share this post Link to post Share on other sites
4ntifa 0 Posted January 18, 2002 I think setting Special to "Flying" should do the trick, at least it does for choppers. Share this post Link to post Share on other sites
RAMBO 0 Posted June 2, 2002 Hey I tried that too and it works, but what script to use if U need to add a building or a TENT, of maybe some troops? Help pls! Share this post Link to post Share on other sites