avager 10 Posted December 25, 2009 As title says, I'm in need of getting this to work (currently reading whole documentation about scripting and trying to learn it ;) ). I was trying to throw myself on deep water and try something "hard" (at least for me in the current state). I want AI soldiers to have attached Chem Lights to their shoulders... puting it in their inventory is not a problem, problem is to force them to wear it ;) Anyone got some ideas how to do that ? (ofcourse ACE is needed for that, tried to look on biki but found nothing about it... so... I need your help guys) Thanks. Share this post Link to post Share on other sites
PuFu 4591 Posted December 25, 2009 have a look over worldtoModel and attachTo. you can also have a look over the scripts in sys_knicklicht. But to be blunt, the bit of code i think you need is: _chml attachTo [_unit, [0,-0.06,0.05], "LeftShoulder"]; Share this post Link to post Share on other sites
Doodle 10 Posted April 30, 2010 I have been trying to get chemlights active on my ai players but cant seem to get it working. I have tried both the below ACE_Knicklicht_G attachTo [soldier1, [0,-0.06,0.05], "LeftShoulder"]; ACE_Knicklicht_G_Used attachTo [soldier1, [0,-0.06,0.05], "LeftShoulder"]; But neither of them seem to work. I can get a chemlight in the ai's inventory and I can get the ai to select the chemlight, though it doesnt appear to be lit, But I cant get him to "attach chemlight". Any help greatly appreciated Share this post Link to post Share on other sites