sapper_PMS 10 Posted January 2, 2012 Hi guys sorry for making new thread but i have try to search for "create vehicle with crew" "spawn vehicle with crew" "spawn tank with crew" etc... I am making mp mission where players must defend one city against very agressive enemy. I am spawning infantry groups in 40 seconds intervals. I havent got any problem. Two groups spawn at two different marks, script will create waypoint and they will go there. But when i try to spawn vehicle... Here is script: _type = _this select 0 _mark = _this select 1 _time = _this select 2 #loop _slaGrp = createGroup EAST; _s1 = "SoldierECrew" createUnit [ getMarkerPos _mark, _slaGrp, " _slaGrp = this; [this] exec 'playerKillsScore60.sqs';", 1, "CORPORAL" ]; _s1 = "SoldierECrew" createUnit [ getMarkerPos _mark, _slaGrp, "[this] exec 'playerKillsScore60.sqs';", 1, "PRIVATE" ]; _tank = _type createVehicle (markerPos _mark) _s1 moveindriver _tank _s2 moveingunner _tank [_tank] exec "playerKillsScore200.sqs" ~1 _s1 assignasgunner _tank [_s1] ordergetin TRUE _s2 assignasdriver _tank [_s2] ordergetin TRUE _slaGrp addWaypoint [position CityMark,80] ~_time + (random 30) goto "loop" exit Vehicle will be created, crew will be created, but out of vehicle, i have try moveInXXXXX assignasXXXXX but nothing is working... But crew start moving on waypoint. Please help and sorry if it is somewhere here. Thank you guys. Share this post Link to post Share on other sites
mikey74 179 Posted January 3, 2012 This thread may help http://forums.bistudio.com/showthread.php?t=129326 Share this post Link to post Share on other sites
gc8 977 Posted January 6, 2012 use this command instead: http://community.bistudio.com/wiki/createUnit_array the other createUnit command is buggy. Share this post Link to post Share on other sites