EM4life Posted May 8, 2010 Author Report Share Posted May 8, 2010 rar them up, zip them up, or throw them on pastebin.com.I put them in a RAR but there's a glitch and I cant click the attach button...damit...EDIT: Got it! They've been attached. Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted May 20, 2010 Report Share Posted May 20, 2010 A topic bump would have gotten my attention..no need for a pm.GameObjectList l3; Game::CollectObstaclesOnVirtualObject(VO_AMBULANCE01, l3, ACTOR_VEHICLE); if(l3.GetNumObjects() > 0) { Vehicle m = l3.GetObject(0); PersonList passengers = m.GetPassengers(); if (passengers.GetNumPersons() == 0) { if(StrCompare(m.GetPrototypeFileName(), OBJ_AMBULANCE02LED) == 0) { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 7, false); //m.PushActionWait(ACTION_APPEND, 0.5f); //m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false); } else { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } } }change that toGameObjectList l3; Game::CollectObstaclesOnVirtualObject(VO_AMBULANCE01, l3, ACTOR_VEHICLE); if(l3.GetNumObjects() > 0) { Vehicle m = l3.GetObject(0); PersonList passengers = m.GetPassengers(); if (passengers.GetNumPersons() == 0) { if(StrCompare(m.GetPrototypeFileName(), OBJ_AMBULANCE02LED) == 0) { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } else { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } } }And follow this pattern for the other ambulances. If that doesnt work compare it to the stock scripts, which i dont have access to on this pc, and see what they look like there. thats around line 200 of lafirestation.script. Quote Link to comment Share on other sites More sharing options...
EM4life Posted May 21, 2010 Author Report Share Posted May 21, 2010 A topic bump would have gotten my attention..no need for a pm.GameObjectList l3; Game::CollectObstaclesOnVirtualObject(VO_AMBULANCE01, l3, ACTOR_VEHICLE); if(l3.GetNumObjects() > 0) { Vehicle m = l3.GetObject(0); PersonList passengers = m.GetPassengers(); if (passengers.GetNumPersons() == 0) { if(StrCompare(m.GetPrototypeFileName(), OBJ_AMBULANCE02LED) == 0) { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 7, false); //m.PushActionWait(ACTION_APPEND, 0.5f); //m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false); } else { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } } }change that toGameObjectList l3; Game::CollectObstaclesOnVirtualObject(VO_AMBULANCE01, l3, ACTOR_VEHICLE); if(l3.GetNumObjects() > 0) { Vehicle m = l3.GetObject(0); PersonList passengers = m.GetPassengers(); if (passengers.GetNumPersons() == 0) { if(StrCompare(m.GetPrototypeFileName(), OBJ_AMBULANCE02LED) == 0) { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } else { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } } }And follow this pattern for the other ambulances. If that doesnt work compare it to the stock scripts, which i dont have access to on this pc, and see what they look like there. thats around line 200 of lafirestation.script.Thanks, I'll coment if there was a change! EDIT: It only staffs my ambulance with one paramedic... Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted May 21, 2010 Report Share Posted May 21, 2010 I'll try to check in to it more once my pc is up and running like monday or tuesday. Quote Link to comment Share on other sites More sharing options...
EM4life Posted May 21, 2010 Author Report Share Posted May 21, 2010 I'll try to check in to it more once my pc is up and running like monday or tuesday.Alright, thanks. Quote Link to comment Share on other sites More sharing options...
EM4life Posted June 18, 2010 Author Report Share Posted June 18, 2010 Anyone else care to help? Quote Link to comment Share on other sites More sharing options...
2Bells Gaming Posted June 19, 2010 Report Share Posted June 19, 2010 I took a quick look. The problem I saw was GameObjectList l3; Game::CollectObstaclesOnVirtualObject(VO_AMBULANCE01, l3, ACTOR_VEHICLE); if(l3.GetNumObjects() > 0) { Vehicle m = l3.GetObject(0); PersonList passengers = m.GetPassengers(); if (passengers.GetNumPersons() == 0) { if(StrCompare(m.GetPrototypeFileName(), OBJ_AMBULANCE02LED) == 0) { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 7, false); //m.PushActionWait(ACTION_APPEND, 0.5f); //m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false); } else { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } } }needed to be changed to GameObjectList l3; Game::CollectObstaclesOnVirtualObject(VO_AMBULANCE01, l3, ACTOR_VEHICLE); if(l3.GetNumObjects() > 0) { Vehicle m = l3.GetObject(0); PersonList passengers = m.GetPassengers(); if (passengers.GetNumPersons() == 0) { if(StrCompare(m.GetPrototypeFileName(), OBJ_AMBULANCE02LED) == 0) { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } else { m.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false); } } }Find attached the new LAFireStation.script you need, with all changes made Quote Link to comment Share on other sites More sharing options...
EM4life Posted June 20, 2010 Author Report Share Posted June 20, 2010 It seems to be the exact same script as the one Xplorer made above you...though it may have the right changes, so I will try it out. *2 minutes later*...Wow, you got it! It spawns a paramedic and a paramedic stretcher, thanks for the help. Quote Link to comment Share on other sites More sharing options...
2Bells Gaming Posted June 20, 2010 Report Share Posted June 20, 2010 It seems to be the exact same script as the one Xplorer made above you...though it may have the right changes, so I will try it out. *2 minutes later*...Wow, you got it! It spawns a paramedic and a paramedic stretcher, thanks for the help.Anytime Glad I could help Quote Link to comment Share on other sites More sharing options...