Pottyscotty Posted April 3, 2015 Report Share Posted April 3, 2015 Is there a way to have a firefighter get a piece of certain equipment from a certain spot on a vehicle? Or to just change where all equipment is grabbed on that vehicle. Quote Link to comment Share on other sites More sharing options...
itchboy Posted April 3, 2015 Report Share Posted April 3, 2015 Is there a way to have a firefighter get a piece of certain equipment from a certain spot on a vehicle? Or to just change where all equipment is grabbed on that vehicle.I think the game is hardcoded to target specific places on a vehicle. You can theoretically change it this way though using a script: Declare person as caller, vehicle as targetPerson moves to vehicle, target on vehicle could be any of the followingTARGET_ANY, TARGET_EQUIPMENTDOOR, TARGET_SHEARSDOOR, TARGET_PASSENGERDOOR, TARGET_REARDOOR, TARGET_FIREHOSE_HOOKUP, TARGET_ENGINE, TARGET_EXTINGUISH, TARGET_ENGINE_EXTINGUISH, TARGET_DLK_BASKET, TARGET_LOADUP, TARGET_DLK_BASKET_BASE, TARGET_TREATMENT, TARGET_UNLOAD, TARGET_ENTRY_WINDOW, TARGET_INSTALL_FGRB, TARGET_DLK_EXTINGUISH, TARGET_FREE_CONNECTOR, TARGET_RANDOM, Person does whatever thing you want him to do. Enter car, or get a certain equipment. You can make custom equipment by looking at the code for the LA Mod ballistic shield, traffic cones and flares. Quote Link to comment Share on other sites More sharing options...
Pottyscotty Posted April 3, 2015 Author Report Share Posted April 3, 2015 Thanks itch, I'll try to do something in a bit. I basically wanted it so Firefighters would get certain equipment from lockers etc so I am guessing I can do this with default eqipment to? Quote Link to comment Share on other sites More sharing options...
itchboy Posted April 3, 2015 Report Share Posted April 3, 2015 You would have to give the locker a firehose in the editor. Look at EM4's Oil Rig Mission. The player can take fire hoses from the red boxes on the walls oil rig. Throwing this out as a hint for anyone having difficulty with the mission. Looking at the code, it appears that the getFirehose commands allows for the person caller to get equipment from vehicles and objects. For whatever equipment script you have, you need to set the possible target as vehicle and object. Quote Link to comment Share on other sites More sharing options...
Pottyscotty Posted April 3, 2015 Author Report Share Posted April 3, 2015 You would have to give the locker a firehose in the editor. Look at EM4's Oil Rig Mission. The player can take fire hoses from the red boxes on the walls oil rig. Throwing this out as a hint for anyone having difficulty with the mission. Looking at the code, it appears that the getFirehose commands allows for the person caller to get equipment from vehicles and objects. For whatever equipment script you have, you need to set the possible target as vehicle and object.Ooo thanks for that, never managed to do that mission That makes it easier for me to set the hoses up, i'm not too bothered about the rest of the equipment, just them. It should work in the same way for the other equipment though. Quote Link to comment Share on other sites More sharing options...
Chris1990 Posted April 5, 2015 Report Share Posted April 5, 2015 I know in Wegberg there is a place for everything but that may or may not be a miswion script Quote Link to comment Share on other sites More sharing options...