Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Hidden objectives
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Hidden objectives (Read 1940 times)
0 Members and 1 Guest are viewing this topic.
pazuzu
Guest
Hidden objectives
«
on:
27 Nov 2004, 10:44:11 »
I discovered a bug using hidden objectives.
If players complete 1rst obj then skip 2nd obj & go to 3rd obj & complete it it checks off then they go back to 2nd obj & complete it it checks off but the 3rd obj unchecks.
So the mission ends with only 1rst & 2nd obj with check next to them but the mission ends anyway...
Has anyone seen this before?
Any way to fix it?
Thanks.
Logged
Taggart
Members
Re:Hidden objectives
«
Reply #1 on:
27 Nov 2004, 12:22:36 »
Did you set conditions for each objective ie when the first objective was completed on the activation line put something like firstobj = true, then the same for the second. On the second though the condition firstobj must be stated. Then on the third objective the condition must state firstobj and secondobj so they are completed first
You probably did, just a thought
Logged
Tried in vain got an artery
pazuzu
Guest
Re:Hidden objectives
«
Reply #2 on:
27 Nov 2004, 21:50:37 »
Thanks for replying...
This is how I do it:
In obj1 trigger in activation field I put: "1" objstatus "done"; obj1=true; "2" objstatus "active"
In obj2 trigger: "2" objstatus "done"; obj2=true; "3" objstatus "active"
In obj3 trigger: "3" objstatus "done"; obj3=true
Not sure what you mean by puting obj1 and obj2 as condition for 3rd obj...
How would that work when I have condition "resistance not present" or west present....
Can it be a combination of those conditions along with obj1 and obj2 done?
Thanks for the help.
Logged
Planck
Honoured
Former Staff
I'm never wrong ....I'm just not always right !
Re:Hidden objectives
«
Reply #3 on:
27 Nov 2004, 22:24:25 »
I think that:
In obj2 trigger: "2" objstatus "done"; obj2=true;
"3" objstatus "active"
is reactivating the 3rd objective, even though it was done already, this must be resetting it again.
Thats the way I see it anyway.
Planck
Logged
I know a little about a lot, and a lot about a little.
pazuzu
Guest
Re:Hidden objectives
«
Reply #4 on:
27 Nov 2004, 23:56:16 »
Ya I think your right....
I cant think of a way to keep that from happening.
Logged
Planck
Honoured
Former Staff
I'm never wrong ....I'm just not always right !
Re:Hidden objectives
«
Reply #5 on:
28 Nov 2004, 02:48:10 »
Well, something like:
"2" objstatus "done"; obj2=true; ? !(obj3) : "3" objstatus "active"
Syntax might be dodgy
Planck
Logged
I know a little about a lot, and a lot about a little.
Taggart
Members
Re:Hidden objectives
«
Reply #6 on:
28 Nov 2004, 04:47:34 »
If you put obj1 and obj2 on condition field for obj3 it ensures the first two objectives are completed first before it will allow completion of obj3
apparently
Logged
Tried in vain got an artery
pazuzu
Guest
Re:Hidden objectives
«
Reply #7 on:
28 Nov 2004, 04:58:59 »
OK, but how would I write that?
Do I keep the word "this" in condition?
So it would read:
"this obj1 AND obj2"
Logged
Taggart
Members
Re:Hidden objectives
«
Reply #8 on:
28 Nov 2004, 06:42:33 »
No, the word "this" is removed and "obj1 and obj2" is placed on the condition line, provided that's what you set and the condition statement when objective one was completed "obj1 = true" on the activation line, and the same basically for the second objective
Logged
Tried in vain got an artery
pazuzu
Guest
Re:Hidden objectives
«
Reply #9 on:
28 Nov 2004, 08:17:31 »
But if I put obj1 and obj2 in the condition field of obj3 & obj3 is set to fire if "resistance not present" how will that work?
Wont it cancel out "resistance not present" by puting obj1 and obj2 as condition?
Logged
Taggart
Members
Re:Hidden objectives
«
Reply #10 on:
28 Nov 2004, 10:06:49 »
I really don't know enough specifics about your objectives, but only use what I've suggested if obj1 and obj2 must be completed before obj3
Other than that I've no recommendations, sorry :-\
Logged
Tried in vain got an artery
pazuzu
Guest
Re:Hidden objectives
«
Reply #11 on:
28 Nov 2004, 22:02:56 »
I appreciate your help.
I ended up just making a test map for hidden obj.
When I put: obj1 AND obj2 in the condition field for Objective 3 trigger it just messed up the trigger I had set to detect west present.
I tried leaving the word "this" in the condition so the line went like this:
this AND obj1 AND obj2
This worked perfect.
Thanks again
Logged
Taggart
Members
Re:Hidden objectives
«
Reply #12 on:
29 Nov 2004, 05:03:03 »
Yep, that's how to do it if you are using East/West not present first you must include the "this" in that case. So you're right "this and obj1 and obj2" ;D
Logged
Tried in vain got an artery
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Hidden objectives
Top of page