Jump to content
Axxif

Vehicle Personnel edit question

Recommended Posts

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...