Axxif Posted August 10, 2013 Report Share Posted August 10, 2013 Alright, so I'm wondering if there is a way to edit what personnel corresponds to what number in scripts such as the LAFireStation, GoToFireStation, LAFireStation, etc... any help? Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 10, 2013 Report Share Posted August 10, 2013 Are you referring to lines like "PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 6, false);"? That number corresponds to the Child of the Dummy_CallCrew command in LAFireStation.if (ChildID == 1) { Person p = Game::CreatePerson(OBJ_PM, UNNAMED); p.SetEquipment(EQUIP_EMERGENCY_CASE); } else if (ChildID == 2) Person p = Game::CreatePerson(OBJ_PM_STRETCHER, UNNAMED); else if (ChildID == 3) Person p = Game::CreatePerson(OBJ_EMT, UNNAMED); else if (ChildID == 4) Person p = Game::CreatePerson(OBJ_CHIEF, UNNAMED); else if (ChildID == 5) Person p = Game::CreatePerson(OBJ_HAZMAT, UNNAMED); else if (ChildID == 6) Person p = Game::CreatePerson(OBJ_USARFF, UNNAMED); else if (ChildID == 7) Person p = Game::CreatePerson(OBJ_EMT_STRETCHER, UNNAMED); else if (ChildID == 8) Person p = Game::CreatePerson(OBJ_EMS_CAPTAIN, UNNAMED); else if (ChildID == 9) Person p = Game::CreatePerson(OBJ_DIVER, UNNAMED); else if (ChildID == 10) Person p = Game::CreatePerson(OBJ_EMT_SCBA, UNNAMED); else if (ChildID == 11) { Person p = Game::CreatePerson(OBJ_PM_SCBA, UNNAMED); p.SetEquipment(EQUIP_EMERGENCY_CASE); }So what you can do is either change the number on the Call Crew lines of the FireStation alarm script or vehicle call scripts, or you can change the prototypes the "OBJ" constant refers to, or add new ones. Quote Link to comment Share on other sites More sharing options...
Axxif Posted August 11, 2013 Author Report Share Posted August 11, 2013 Thanks! Guess it would've helped if I had actually read through that script lol Another question I have: Is it possible to edit the children of a vehicle, say the LAFD Crane, so that they draw from a different folder, such as the LA Tec folder or such, instead of having to rerig the whole vehicle, which can get pretty annoying to have to do repetitively? Quote Link to comment Share on other sites More sharing options...