Home   Help Search Login Register  

Author Topic: making end triggers inactive until you've completed your objectives.  (Read 618 times)

0 Members and 1 Guest are viewing this topic.

veston pants

  • Guest
Hi all.

I'm new to this op. flashpoint editing and I've spent a few days browsing through the tute's, learning a load of basic stuff, thanks to all who helped.:)

My prob is that in a mission I have created, I have set myself 3 objectives using triggers and an end trigger. The 1st objective is to clear the enemy of a certain small area on the map, the 2nd to await for reinforcements and the 3rd to return to my starting point, after my 3rd obj trigger there is an end trigger where the mission finishes. I would like to know how to make the 3rd and end triggers inactive until the first 2 obj's have been completed.

I've checked out a few of the manual resources and FAQ section but have beeen unable to find anything specific on the subject, so any help would be appreciated.

I have simply named my 3 obj's (obj1, obj2 and obj3 and my end trigger end) and would like the code to render the obj3 and end trigger inactive until the the first 2 obj's have been accomplished.

I have also noticed that alot of the coding seems to be spelt differently in certain tute's, mainly with the capital letters appearing or not. Could someone tell me if this has something to do with the op. flashpoint vers. you are running?

My current vers. is 1.91

cheers.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
1st thing upgrade 2 latest version ;) ;D just cuz its beter

as 4 the scriptin q... no it doesnt make ny diffrence

no 4 the important stuf ;)

in every triger (activision) put somin like that

obj1=true
obj2=true
obj3=true

(1 line 4 1 triger)

nd now in the last triger (condition) put

this and obj1 and obj2 and obj3

if u aready have this varuable names... just use other 1s  :o  ::)

:cheers:

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

veston pants

  • Guest
Tanks.

If it dunt w*rk, I'll get back to ya!

Cheers... :)

veston pants

  • Guest
sorry.

Do i put that in the condition field or on activation field?

I already have "1" objStatus "DONE" , "2" objStaus-etc. in each of the 3 trigger on activation fields. I also need the 3rd trigger to be inactive aswell as the end trigger, until the first 2 triggers have been activated.

Cheers.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
i think im pretty clear bout that ::)

Quote
in every triger (activision) put somin like that

obj1=true
obj2=true
obj3=true

(1 line 4 1 triger)

nd now in the last triger (condition) put

this and obj1 and obj2 and obj3

:P

just put ; b4 these lines

and 4 the 3rd objective use

this and onj1 and obj2

in the condition :P

also 2 hide the line search 4 objectives TUT in the editors depot :P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

veston pants

  • Guest
I've tried that but I got this message in the top left of the mission screen:
this and obj1 and|#| obj2: Error and: type Object, expected Bool

Anyone know what I'm doing wrong?

cheers.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
lol

use names other than obj# and tell me

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

veston pants

  • Guest
Ahhh, doin that I'll have to re-edit my briefing aswell..:(

Does anyone know how to get round this prob as it stands?

Cheers LCD for your help.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
u wont have 2 change ur breifing :P

change the variables names that i told u bout 2 somin else... not the objectives names... this triger thing doesnt have ny conections 2 ur breifing

so 4 example here is the activision line 4 1st triger

"obj1" objstatus "somin"; misionpart1 = true
or
"obj1" objstatus "somin"; objecpart1 = true

or watever

just make sure u change the variable in the conditions 2 the variable name in the activision field, u can put also nythin in the activision field as long as u keep the ;variable thingy

:P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

veston pants

  • Guest
That w*rked fine.

Cheers LCD, your a hero.. 8)