OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Woza on 25 Mar 2003, 06:18:27
-
Hi, I'm somwhat new to this edditing stuff so bear with me.
I've got a trigger on a base that sets off an alarm and alerts all the guards. It's set to:
West
Detected by East
In the condition box I've got:
this OR basealert
basealert being a variable set by some sentries a couple of hundred metres away.
So my question is: Why does the basealert set off the trigger but not the trigger conditions as defined by this? And if its an invalid command how can I fix it?
-
Check if you've got it the right way. Try fiddling the West, Detected by East around a bit. Maybe it should be East, Detected by West.
If that won't work you could put in
eastunit knowsabout westunit > 1 OR basealert
I've noticed that sometimes the triggers 'detected by' activation mode doesn't work to well.
-
What Artak implied, but didn't actually say, is that
this or basealert
is correct. OFP can be a fickle mistress, and since its often hard to spot your own mistakes anyway, you could worse than delete the trigger and start afresh. :)
The boundary of a trigger can appear to vary a little sometimes, and they only check themselves every 0.5s, so make sure it has a fair chance of firing.
-
What are the range specifications of your trigger?
If you're using a trigger with a range: 0/0 then your
detect thingy wouldn't work.
Also: it is required that the to be detected unit has to be
inside the trigger area when it's detected, while the spotting
unit doesn't have to be inside the trigger area.
~S~ CD
-
I can see what people mean about moody software!
I couldn't figure it out, so I instead made another trigger which triggered the basealert trigger, instead of having the one trigger having 2 conditions. Does the job anyway.
Thanks for the feedback though.