Jump to content
Tim Derks

Caller ID's for personnel

Recommended Posts

Hey guys,

 

I'm probably missing something, but I can't find a list of personnel for the caller ID's used in i.e. LAFireStation.script.

m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 7, false);//m.PushActionWait(ACTION_APPEND, 0.5f);//m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false);

For instance, here is called upon crew ID number 7. Does anyone have a list on hand for all the numbers? That would help a lot.

 

Tim

 

-------------------------------

 

Sorry guys, I had this topic open but didn't read it yet, it's listed in here for the Fire Department and Medical services.

 

Now this creates another question for me:

How is this determined? What makes number 3 to be a FF/EMT? 

 

Hope you can help.

 

Tim

Link to comment
Share on other sites

Open the LAFireStation file, find the DummyCallCrew script.

 

Look for something similar to this:

PersonList passengers = v.GetPassengers();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_PM, UNNAMED);

The child ID numbers are the numbers you are looking for. You can add more if you need by adding new constants and new child IDs pointing towards them.

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...