Guest Posted August 10, 2013 Report Share Posted August 10, 2013 Does anyone know if it would be possible to combine these to scripts so that when you hit the Rapid Deploy button, the Firefighters change to SCBA before grabbing and attaching their hose lines? Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 10, 2013 Report Share Posted August 10, 2013 Should be possible. A new vehicle script that would get the vehicles passengers, delete them and replace them with SCBA units, and then run the Rapid Deployment script would work. If you want the first units to exit the vehicle, run a Change Clothes script, and then run Rapid Deployment, that would be a little more involved, but should be possible. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2013 Report Share Posted August 10, 2013 I can script but just looking at it, it seemed way over my head! Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 10, 2013 Report Share Posted August 10, 2013 I think Manhattan v3 will have a Vcommand to change on-board FFs to SCBA. Might be able to copy that over, and add a line to execute Rapid Deployment afterwards. That would be easier than having them exit, change, and then grab hoses and connect. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 10, 2013 Report Share Posted August 10, 2013 yep possibly. I will see if i can get permission to use it. Quote Link to comment Share on other sites More sharing options...
NathanDollinger Posted August 11, 2013 Report Share Posted August 11, 2013 This would actually be really simple! almost a copy and past set up! The way the scripts work is it follows the order in which its written so in theory if you copy and pasted the core part of the change clothes script to in front of the core part of the rapid deploy script the fire fighters would get out, change clothes, go get the hose, connect the hose , and be ready to fight fire in the correct order! You would have to do some tinkering to get every thing lined up right and work the bugs out but it should work with very little effort! Quote Link to comment Share on other sites More sharing options...
Dyson Posted August 12, 2013 Report Share Posted August 12, 2013 Combining them would likely not work, I say this because the change clothes script deletes the caller and replaces it with a new proto, so you'd need to find a way of getting the command chain to continue with the new proto, which if you're hoppah is easily do-able but just combining them wont work. As suggested changing on board would be better because thats a simple proto switch script which could be done before they leave the rig, then you could still refer to them as passengers so the command would be able to find them easily enough. Hope this all makes sense. Dyson x Quote Link to comment Share on other sites More sharing options...
Guest Posted August 15, 2013 Report Share Posted August 15, 2013 Thanks for all the help! So far with the tinkering i have done, they get out and put on the SCBA, but then they just stand there. Any idea's? Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 15, 2013 Report Share Posted August 15, 2013 If you're using the replace prototype method, you'll have to make sure the new person is the one defined in any further actions. Say if "p" is the original person, and "p1" is the new one created. "p1" must be the one doing the actions after it is made. Go ahead and post the script you have. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 15, 2013 Report Share Posted August 15, 2013 Here is my script! https://www.dropbox.com/s/kkqmggooo03eb32/Script.zip Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 15, 2013 Report Share Posted August 15, 2013 See Next post. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 15, 2013 Report Share Posted August 15, 2013 Where it is at is good enough. Thanks for the help. Can you remove the DL plz. This is for my clan mod, and only for them. Thanks for the help! Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 15, 2013 Report Share Posted August 15, 2013 Got it! Seems one person doesn't like to connect automatically, and paramedics always have a medic bag somehow if they were created from the script; not sure what's going on there. Quote Link to comment Share on other sites More sharing options...
Quincy Posted August 21, 2013 Report Share Posted August 21, 2013 Got it! Seems one person doesn't like to connect automatically, and paramedics always have a medic bag somehow if they were created from the script; not sure what's going on there.Connecting is pathing issue and the medic bag is because you have this line somewhere, remove that line and you are all set.p1.SetEquipment(EQUIP_EMERGENCY_CASE); //p1 or p2 or p3 or p4 it depends on which proto is the medic Quote Link to comment Share on other sites More sharing options...