groovybluedog Posted July 4, 2011 Report Share Posted July 4, 2011 Hi All,I changed some unit files to change the personnel in vehicles. While spawning off the map works file, when raising the alarm, the default la mod personnel enter the vehicles, and not the new settings.How may I change this?Thanks,-Lewis Quote Link to comment Share on other sites More sharing options...
dustwaveblitz Posted July 5, 2011 Report Share Posted July 5, 2011 You have to change the files LABattalionchief and LAFireStationStart scripts both of them with the same changes. Quote Link to comment Share on other sites More sharing options...
groovybluedog Posted July 6, 2011 Author Report Share Posted July 6, 2011 Hello, } ActorList l15 = Game::GetActors(VO_HAZMAT); for(int i=0; i < l15.GetNumActors(); i++) { Vector Hazmat = l15.GetActor(0)->GetPosition(); Vehicle m = Game::CreateVehicle(OBJ_HAZMATSQUAD, UNNAMED); m.EnableBlueLights(false); m.SetPosition(Hazmat); m.SetRotation(gate6); m.UpdatePlacement(); m.SetMaxPassengers(4); m.SetMaxTransports(2); m.SetSpeed(8.0f); m.PushActionWait(ACTION_NEWLIST, 1.0f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false); m.PushActionWait(ACTION_APPEND, 1.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);I understand what the vehicle is, what gate it comes from, and whatnot, but where in that example is the actual crew which is spawned on use of the alarm, and what the hell is up with the 8.0f speed?Thanks,-GBD! Quote Link to comment Share on other sites More sharing options...
Texas_DPS Posted July 6, 2011 Report Share Posted July 6, 2011 that is the speed of the vehicle, and the f.....i dont know, maybe its in feet like 8 feet a sec. Quote Link to comment Share on other sites More sharing options...