Home   Help Search Login Register  

Author Topic: Some questions about stealth  (Read 1401 times)

0 Members and 1 Guest are viewing this topic.

Offline ChumyXD

  • Members
  • *
Some questions about stealth
« on: 07 Apr 2013, 06:20:13 »
Not sure if that unknown vehicle is a civilian tractor, or an enemy T-80...

Offline Gruntage

  • Missions Depot
  • Administrator
  • *****
  • How do I get outta this chickensh*t outfit?
Re: Some questions about stealth
« Reply #1 on: 07 Apr 2013, 09:27:51 »
I can answer the 2nd, 3rd and 4th questions.

2. In your alarm trigger, put this in the 'on activation' field:

Code: [Select]
makeaware = true
Now, make another trigger which is set to 'East Present'. Put in the 'Name' box: 'easttrig'. Put 'makeaware' in the condition field, and put this in the On Activation field:

Code: [Select]
{_x setbehaviour "aware"} foreach (list easttrig)
I haven't touched OFP for sometime, so I'm not 100% that that syntax is correct. But that command will make every russian within that the trigger area become 'aware' when the condition 'makeaware' is fulfilled.

3. You would have to download an addon to make streetlamps. Mikeros' Editor Upgrade has some streetlamps. You make them light up with 'this inflame true'.

4. Make a trigger with a medium-large diameter, and make it east not present. In one of the drop down lists (on the trigger set up) you can select various endings like 'end #1'. That's how you make the mission end. I can't remember what the name of the drop down list is.

Hope that helps

"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re: Some questions about stealth
« Reply #2 on: 11 Apr 2013, 07:37:55 »
If you could attach your existing mission file. It might be easier to help you. For your third probelm (the street lamps) you can disable the the streetlamps and reenable them when there is an alarm condition. Here is an example of how to deactivate multiple street lamps using commands in an init.sqs file (these are actual object numbers from Kolgujev):

Code: [Select]
_lights = [(object 757), (object 68251), (object 7697), (object 7698), (object 7507), (object 7443), (object 7456), (object 3197), (object 14), (object 16887), (object 16886), (object 16888), (object 11127), (object 25328)]
{_x switchLight "off"} forEach _lights

Here is how to reactivate them:

Code: [Select]
_lights = [(object 757), (object 68251), (object 7697), (object 7698), (object 7507), (object 7443), (object 7456), (object 3197), (object 14), (object 16887), (object 16886), (object 16888), (object 11127), (object 25328)]
{_x switchLight "on"} forEach _lights

If you attach your mission file I can give your more help on your other issues.