bobby budnick 0 Posted March 21, 2013 This is the script: sleep 20; TEST_GROUP = createGroup east; WORKINGVEHICLE = CreateVehicle ["B_Hunter_HMG_F", getPos player, [], 0, "FLY"]; sleep 1; "O_Soldier_F" createUnit [getPos player, TEST_GROUP, "DRIVER = this"]; DRIVER moveInDriver WORKINGVEHICLE; The exact error: Error in expression <, "DRIVER = this"];DRIVER moveInDriver WORKINGVEHICLE;> Error position: <WORKINGVEHICLE;> Error Missing ; What could be the problem here? Share this post Link to post Share on other sites
cobra4v320 27 Posted March 21, 2013 sleep 20; TEST_GROUP = createGroup east; WORKINGVEHICLE = CreateVehicle ["B_Hunter_HMG_F", getPos player, [], 0, "NONE"]; "O_Soldier_F" createUnit [getPos player, TEST_GROUP,"this assignAsDriver WORKINGVEHICLE; this moveInDriver WORKINGVEHICLE"] Share this post Link to post Share on other sites
bobby budnick 0 Posted March 21, 2013 It works your way just fine. A couple things. I should have noticed I could write more code in the init field but I may have figured that it wouldn't have made a difference. Also, I think the way I did it should have worked. My method was in fact lifted from some of my Arma 2 scripts. Maybe soldiers cannot be stored in variables these days? Anyway, this way should work good for me and I thank you very much. Share this post Link to post Share on other sites