OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Laser on 15 Jun 2004, 19:00:34
-
OK, here's what i'd like to find out: is it possible to script an option for a fixed NVG (mounted on helmet like that's done on BAS SOAR) to automatically lower when the darkness falls and to be automatically raised in the morning, so the AI units would be able to auto lower/raise the NVG's? Thanks in advance.
-
I believe that they already do that. Once night falls they put them on and once its light out they take them off.
Or are you askin to have them permanatly on the helmet, it just raises up when not in use? :P
-
I believe that they already do that. Once night falls they put them on and once its light out they take them off.
Or are you askin to have them permanatly on the helmet, it just raises up when not in use? :P
Yeah, i mean exactly that. Fixed helmet mounted NVGs.
-
Well I can't help you there since I have no knowledge of advanced scripting or addons. But wouldn't this be an addon? You'd need a new helmet model or something.....
-
not an addon a script. Laser wants the current NVG to stay down. You can do this by finding the varibale that checks if the AI charater needs that googles on or not and set it to stay true always.
I was wondering why you needed this? In night battles I don't really notice if NVG are on or not. The comabt is happening so fast.
-
There is a command, daytime, which may be what you are looking for....Then just determine what time it is, and if it is the right time, then go ahead and run the animation to lower the goggles.
-
There is a command, daytime, which may be what you are looking for....Then just determine what time it is, and if it is the right time, then go ahead and run the animation to lower the goggles.
Yes, this might help... but how can one accomplish this via, say, an eventhandler? I'm no decent scripter by any means, so can anyone finally help me with this?