tambovskya 1 Posted March 11, 2013 (edited) Hi, I am trying to figure out how to make a attachTo script that will allow a player to attach C4 to a vehicle. The way i'm trying to do this is: Vehicles Init [vehicle1]: _genAct = generator addAction ["Attach C4", "attach_c4.sqf"] attach_c4.sqf: I'm not sure how to do this, because it needs to take DemoCharge_Remote_Mag out of the players inventory and attach it to the vehicle. Maybe " DemoCharge_Remote_Mag attachTo [Vehicle1,[0,0,1]]; ". I'm not sure. Is it possible to make it universal? I mean without making a script for each vehicle, maybe nearestObject [_x, "LandVehicle" ? Edited March 11, 2013 by tambovskya Share this post Link to post Share on other sites