PDA

View Full Version : CTD when using MoveInDriver?



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 &#91;&#34;SoldierWPilot&#34;, position player, &#91;&#93;, 0, &#34;NONE&#34;&#93;
_plane = createVehicle &#91;&#34;AV8B&#34;, position player, &#91;&#93;, 0, &#34;FLY&#34;&#93;
_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&#39;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&#39;ll ave to set the position and velocity manually again http://forums.bistudio.com/oldsmileys/sad_o.gif

deanosbeano
Dec 19 2006, 16:33
hmm, your threads called moveindriver but your code says moveincargo ?
you made a syntax error just here ?

lethal
Dec 19 2006, 17:53
hehe - nope.

i tried every movein- combination in the book. this just happened to be the last before i copied and pasted it here http://forums.bistudio.com/oldsmileys/wink_o.gif forgot to mention that.

deanosbeano
Dec 19 2006, 17:59
dunno then ,unless its linked to the bug in mp where if people start near water in a helo the server crashes ?.
its in mp thread i think, sickboy was mentioning it.

lethal
Dec 19 2006, 21:39
must have missed that one - quite possible it&#39;s linked. i tested this on the &#39;inro&#39; island which, by its small nature, is close to water about everywhere...

if this is a bug indeed maybe one of the mods can move this thread to to the troubleshooting forum?

btw - what&#39;s a custom title http://forums.bistudio.com/oldsmileys/biggrin_o.gif http://forums.bistudio.com/oldsmileys/wink_o.gif

Deady
Feb 27 2007, 18:13
Also experiencing this problem in my mission http://forums.bistudio.com/oldsmileys/sad_o.gif

Trying to moveindriver a createunit&#39;d man into a createvehicle&#39;d vehicle, and CTD http://forums.bistudio.com/oldsmileys/sad_o.gif

T_D
Feb 27 2007, 18:52
Remove the movein command and check with a hint or sidechat if _plane and _pilot are defined properly.

Albert Schweitzer
Mar 15 2007, 21:57
deleted