please forgive the noobness,
im writing this script where a tank platoon are created, since i cant seem to createunit a crewed tank i thought id create the crew then the empty tank and move the crew in
_tank = "t55" createvehicle [(getpos _civvi select 0)+_ran1,(getpos _civvi select 1)+_ran2,0]
~1
_crew1 = (typeof _civvi) createunit [[(getpos _civvi select 0)+_ran1,(getpos _civvi select 1)+_ran2,0],(group _civvi),{this moveindriver _tank}]
_crew1 moveindriver _tank
~1
_crew2 = (typeof _civvi) createunit [[(getpos _civvi select 0)+_ran1,(getpos _civvi select 1)+_ran2,0],(group _civvi),{this moveingunner _tank}]
_crew2 moveingunner _tank
~1
_crew3 = (typeof _civvi) createunit [[(getpos _civvi select 0)+_ran1,(getpos _civvi select 1)+_ran2,0],(group _civvi),{this moveincommander _tank}]
_crew3 moveincommander _tank
~2
_civvi is the name the player,
unfortunatly when i run this script the crew is created and so is the tank but the crew just run towards the player and dont get in