toxicsludge 12 Posted June 16, 2014 I'm starting a series focusing on scripts that you can implement in the mission editor which add a cool feature or enhance your missions. The first one I took a look at was this helmetcam script by Tajin. Download the script here: http://www.armaholic.com/forums.php?m=posts&q=21300 Share this post Link to post Share on other sites
Tajin 349 Posted June 16, 2014 Nice. Thanks for doing that. Tiny correction though: Only YOU need the tactical goggles (to be able to see the videofeed), but you can only see the videofeed from groupmembers with suitable helmets. So if someone in your group wears a bandanna, you won't be able to get a livefeed from him. Share this post Link to post Share on other sites
toxicsludge 12 Posted June 16, 2014 Oh, thanks Tajin, and thanks for the script! Share this post Link to post Share on other sites
breeze 0 Posted July 25, 2016 Guys thanks so much for this it works great except I am getting a Undefined Variable in this part of the script. if (name hcam_target != _old) then { _neck attachTo [hcam_target,[0,0,0],"neck"]; _pilot attachTo [hcam_target,[0,0,0],"pilot"]; _old = name hcam_target; hcam_cam cameraEffect ["INTERNAL", "BACK","rendertarget0"]; HCAM_CTRL_TITLE ctrlsettext (name hcam_target); }; I hope we can fix it I would really love to implement this in my missions.. Share this post Link to post Share on other sites
Tajin 349 Posted July 25, 2016 Ah well, I haven't used or updated it for quite a while. I should probably make a reworked version of it due to all the new scripting commands that came out meanwhile. Maybe I can get around to it in the next days. Share this post Link to post Share on other sites
breeze 0 Posted July 25, 2016 Well everything works just using the scripts in the mission folder I just get this undefined variable error, So its not as simple as a bracket or comma? Share this post Link to post Share on other sites
Tajin 349 Posted July 25, 2016 Hmmm, what exactly does the error say ? Share this post Link to post Share on other sites
breeze 0 Posted July 25, 2016 It says undefined variable line 88 I opened the script with notepadd++ found line 88 copy and pasted the area that they referenced within the script. I believe this was the exact area but I am going bt memory and it was tol long to write down if (name hcam_target != _old) then { _neck attachTo This is the paragraph or area of the script. if (name hcam_target != _old) then { _neck attachTo [hcam_target,[0,0,0],"neck"]; _pilot attachTo [hcam_target,[0,0,0],"pilot"]; _old = name hcam_target; hcam_cam cameraEffect ["INTERNAL", "BACK","rendertarget0"]; HCAM_CTRL_TITLE ctrlsettext (name hcam_target); }; Also I read somewhere by the KK guy Killzone Kid I think his name is to try and turn on scripting errors that the error messages are then more descriptive and better. Do you know how I can do this? Thanks so much for your help... :=) Share this post Link to post Share on other sites
Tajin 349 Posted July 26, 2016 Here, try changing the above to this (first and last line added) if (!isNil "hcam_target") then { if (name hcam_target != _old) then { _neck attachTo [hcam_target,[0,0,0],"neck"]; _pilot attachTo [hcam_target,[0,0,0],"pilot"]; _old = name hcam_target; hcam_cam cameraEffect ["INTERNAL", "BACK","rendertarget0"]; HCAM_CTRL_TITLE ctrlsettext (name hcam_target); }; }; Share this post Link to post Share on other sites
WastedMike_ 27 Posted August 12, 2017 Does this mod still work? Share this post Link to post Share on other sites
Grumpy Old Man 3548 Posted August 12, 2017 5 hours ago, WastedMike_ said: Does this mod still work? What's stopping you from trying? Cheers Share this post Link to post Share on other sites
WastedMike_ 27 Posted August 12, 2017 It doesn't work anymore. :( Share this post Link to post Share on other sites