lethal
Dec 19 2006, 16:25
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_pilot = _group01 createUnit ["SoldierWPilot", position player, [], 0, "NONE"]
_plane = createVehicle ["AV8B", position player, [], 0, "FLY"]
_pilot moveincargo _plane[/QUOTE]
i get a CTD every time. anybody else?
and is there a way to generate that plane with a pilot inside already? I'm gonna try creating the plane on the ground (with the special param set to "NONE") and moving in the pilot there...
edit: of course i have created that group, first, too http://forums.bistudio.com/oldsmileys/wink_o.gif
update: works with that param set to "NONE". unfortunately i'll ave to set the position and velocity manually again http://forums.bistudio.com/oldsmileys/sad_o.gif
_plane = createVehicle ["AV8B", position player, [], 0, "FLY"]
_pilot moveincargo _plane[/QUOTE]
i get a CTD every time. anybody else?
and is there a way to generate that plane with a pilot inside already? I'm gonna try creating the plane on the ground (with the special param set to "NONE") and moving in the pilot there...
edit: of course i have created that group, first, too http://forums.bistudio.com/oldsmileys/wink_o.gif
update: works with that param set to "NONE". unfortunately i'll ave to set the position and velocity manually again http://forums.bistudio.com/oldsmileys/sad_o.gif