Home   Help Search Login Register  

Author Topic: M2's light?  (Read 1844 times)

0 Members and 1 Guest are viewing this topic.

RedHouse

  • Guest
M2's light?
« on: 11 Feb 2005, 23:36:01 »
How the hell do you get an M2 to switch off its light at night? Tried all sorts of things to get it to work, the action command ["LIGHT OFF"] dont work, behaviour dont work.

Any ideas?

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:M2's light?
« Reply #1 on: 12 Feb 2005, 00:25:44 »
There have been several posts in the past asking about that and i pretty sure the answer has been we don't bloody know :P :(

i suggest that you use General Barron's man mg script from the Ed Depot and put an extra varible in the init line, then initialize that from another trigger with a WEST DETECTED BY EAST setting. :P

"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:M2's light?
« Reply #2 on: 12 Feb 2005, 00:27:14 »
We do know.     This one was solved .... maybe a year ago.    

Can't remember what the answer was though.    Suspect a fast looping script, although I'm not sure what command.  Try the forum search function and be persistant.
Plenty of reviewed ArmA missions for you to play

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:M2's light?
« Reply #3 on: 12 Feb 2005, 00:31:43 »
Hmm, well, i've talked to several loons i know, and they said they've gotten mixed actions from that. Sometimes it works, for others the sodding things flicker like a strobe. :0
if you wanna try it, go ahead ;)
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

RedHouse

  • Guest
Re:M2's light?
« Reply #4 on: 12 Feb 2005, 01:27:07 »
ok thx for the help ill have a look for the script

edit: I can't find this script, does anyone have a link?
« Last Edit: 12 Feb 2005, 01:39:28 by RedHouse »

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

RedHouse

  • Guest
Re:M2's light?
« Reply #6 on: 12 Feb 2005, 13:19:49 »
no ofense, but what has that got to do with the light?

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:M2's light?
« Reply #7 on: 12 Feb 2005, 17:02:18 »
sorry, wrong link. I can't seem to find it anymore though.

Just make a script with something like:
Code: [Select]
_unit = _this select 0

#LightOff
_unit action ["Light Off",_unit]
goto "LightOff"

that kills your performance though :P If you try to add a time delay, then the lights strobe, and it doesn't work.

(Maccy, it was in the "The Time For Action Has Come" thread ::) )
« Last Edit: 12 Feb 2005, 17:13:44 by Tyger »
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:M2's light?
« Reply #8 on: 12 Feb 2005, 18:02:29 »
Thank's Tyger, I knew I'd seen it somewhere.

It's in this thread, Reply#19.    Well done JDSH.

You should probably add a delay into the loop.   Experiment till you find the longest delay that works, maybe ~0.03
« Last Edit: 12 Feb 2005, 18:03:41 by macguba »
Plenty of reviewed ArmA missions for you to play

RedHouse

  • Guest
Re:M2's light?
« Reply #9 on: 12 Feb 2005, 20:34:03 »
so the key is getting the exact time for the delay, not to fast to create un needed lag or crashing OFP and not to slow to create a strobe. So the time should equal the time it takes the ai to switch there light back on.

Thx
« Last Edit: 12 Feb 2005, 20:38:48 by RedHouse »