fortun 14 Posted June 12, 2014 Anyone knows a script that works for a Mission? I tested this http://www.armaholic.com/forums.php?m=posts&q=21300 But getting error on line 67, unknown variable hcam_cam when closing the camera - alt + *. So anyone that knows another script that can do the same but that works? Share this post Link to post Share on other sites
Lala14 135 Posted June 12, 2014 Anyone knows a script that works for a Mission?I tested this http://www.armaholic.com/forums.php?m=posts&q=21300 But getting error on line 67, unknown variable hcam_cam when closing the camera - alt + *. So anyone that knows another script that can do the same but that works? Do you have CBA enabled? CBA is a mod for ArmA 3 Share this post Link to post Share on other sites
Tajin 349 Posted June 12, 2014 Hmmm, I haven't used it myself for a while but normally it should still work fine. I'll give it a try with the current version, but I guess the issue is probably on your end. The guys from BWmod also have a helmet-cam included. Not as a standalone script though and not with the same precision regarding the head-movement. Aside from that, I know of no other scripts that do this. Share this post Link to post Share on other sites
fortun 14 Posted June 13, 2014 Hello again. Thanks for answers. As i understood, for the script version you don´t need the CBA? Using it for one of my mission. However. Line 67, unknown variable. Seeing it everytime with -showScriptErrors Also in your test mission that is with the package. Tested on two different computers. Happens everytime when trying to close down the PIP with alt + * Also, seems as its not working if you have saved a mission and loads it again. Share this post Link to post Share on other sites
das attorney 858 Posted June 13, 2014 Anyone knows a script that works for a Mission?I tested this http://www.armaholic.com/forums.php?m=posts&q=21300 But getting error on line 67, unknown variable hcam_cam when closing the camera - alt + *. So anyone that knows another script that can do the same but that works? Hi Tajin, I got this error as well, so I modified the condition to this and it works fine now: while {not isNil {hcam_cam} and {not isNull hcam_cam}} do { // your cool head cam stuff }; I think the error is to do with either dead units, or deleted objects. Not sure which so testing for nil var and then null object seems to cure it. I can probably explain it better when I'm sober, but it is very late and I can't get it together. Anyway, that code should fix it. :) @fortuN - You should not give up on this sort of thing too easy! :) Share this post Link to post Share on other sites
Tajin 349 Posted June 13, 2014 Ah thanks, that sounds about right – deleted units could certainly cause problems without that safety check. Guess I'll have to get around to updating this thing again. Would be easier if ArmA didn't give me so many other ideas for things that could be scripted/modded. ^^ Share this post Link to post Share on other sites
fortun 14 Posted June 13, 2014 (edited) Thanks for the help! However. Seems like still trouble When put like this // Ready! hcam_active = true; _camOn = false; // start cam-update loop while {not isNil {hcam_cam} and {not isNull hcam_cam}} do { // destroy camera and cancel the loop if player closes the liveFeed or takes off his tactical glasses. if ( !( (goggles player) in hcam_goggles ) ) then { { i get error on Input.sqf Line 35 Hcam_cam Undefined Variable. Edit* Seems like the error above was because i tested it to early before it loaded correctly However Also, is it possible to make so that not all of your group members are "viewable" in PIP? I have a hostage mission, and i don't want to be able to watch the hostage in PIP. Seems that the vehicle view is not working either (Just some things i noticed while playing through my mission some times) Edited June 13, 2014 by FortuN Share this post Link to post Share on other sites
Tajin 349 Posted June 16, 2014 Easiest way to do so: Don't give your hostage a helmet. Share this post Link to post Share on other sites
fortun 14 Posted June 16, 2014 Then, there must be a bug in the script, cause not any of the units has helms, not even the soldiers. Just bandanas. And the hostages is just civilians without anything at all except clothes. Share this post Link to post Share on other sites
masterantony 12 Posted August 24, 2014 Easiest way to do so: Don't give your hostage a helmet. Addond don't work in MULTIPLAYER with VIRTUAL AMMOBOX. Work only if with DEFAULT CLASS we have TACTICAL GLASSES. Fix Fast Please. Share this post Link to post Share on other sites
bangabob 45 Posted August 24, 2014 Check out Live feed Control. It's linked below this post. Share this post Link to post Share on other sites
masterantony 12 Posted August 25, 2014 Check out Live feed Control. It's linked below this post. Don't work banga, i reply in your POST. Share this post Link to post Share on other sites