I have been trying to attach a chemlight to a helicopter ( tried with other objects as well such a Ammo Crate) and i've noticed that it is not possible to attach them.
Hopefully this will be quickly fixed ;)
I have been trying to attach a chemlight to a helicopter ( tried with other objects as well such a Ammo Crate) and i've noticed that it is not possible to attach them.
Hopefully this will be quickly fixed ;)
1.Go to Editor
2.Place a Chemlight (Doesn't matter what color)
3.Place a Object to attach ( In my case the Ghosthawk helicopter)
3.Name you Chemlight and in the Init put :
chem1 attachTo [box1,[0,1,1]];
4.Name you Object ( In this case I named it as "box1")
5.Preview
No problem here:
player addeventhandler ["fired", {
_pr = _this select 6;
_pr attachto [heli, [0,3,1]];
hint str _pr;
}];
where heli is helicopter. Throw chemlight and it will get attached to heli