yoannis1995 10 Posted June 17, 2014 Hi, I'm trying to attach IR grenades to units with this code: {_ir = "B_IR_Grenade" createVehicle [0,0,0]; _ir attachTo [_x, [0,-0.03,0.07], "LeftShoulder"];} forEach units group player But it doesn't work even though it works with the exact same code and chemlights instead of IR grenades... Any idea how to make it work ?! Share this post Link to post Share on other sites
TittErS 13 Posted June 17, 2014 Hello Yoannis1955, "B_IR_Grenade" does not exist in "CfgAmmo" or "CfgVehicles". {_ir = "B_IRStrobe" createVehicle [0,0,0]; _ir attachTo [_x, [0,-0.03,0.07], "LeftShoulder"];} forEach units group player Share this post Link to post Share on other sites
Beerkan 71 Posted June 17, 2014 Hi,I'm trying to attach IR grenades to units with this code: {_ir = "B_IR_Grenade" createVehicle [0,0,0]; _ir attachTo [_x, [0,-0.03,0.07], "LeftShoulder"];} forEach units group player But it doesn't work even though it works with the exact same code and chemlights instead of IR grenades... Any idea how to make it work ?! As TittErs says, it's the wrong class, itshould be "B_IRStrobe". This works. {_ir = "B_IRStrobe" createVehicle (position player); _ir attachTo [_x, [0,-0.03,0.07], "LeftShoulder"];} forEach units group player; Share this post Link to post Share on other sites