Home   Help Search Login Register  

Author Topic: Next waypoint when Obj_1 objStatus "Done"???  (Read 568 times)

0 Members and 1 Guest are viewing this topic.

merby1

  • Guest
Next waypoint when Obj_1 objStatus "Done"???
« on: 20 Mar 2004, 15:05:39 »
Hi,

Its  great been able to check off objectives in missions at all, but I can't put that to use.

I want to make a waypoint that will come available only when Obj_1 is complete.

I tried putting into the waypoint properties --> Condition: "Obj_1" ojbStatus "DONE"
but it says boolean expected. I can't find a way to put that into a true false statement so i'm guessing I need use a diferent command or declare a variable or something. Can some1 plz help me?

Mark

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Next waypoint when Obj_1 objStatus "Done"???
« Reply #1 on: 20 Mar 2004, 17:40:16 »
Where ever you're using the "1" objstatus "done", in a trigger, wp, script, whatever, put  myvariable = true  on that line also. So the line should look something like this:
"1" objstatus "done"; myvariable=true

Then type myvariable in the wp you want to be activated when 1st objective is done. The condition line should only have the word  myvariable.
Not all is lost.

magnar

  • Guest
Re:Next waypoint when Obj_1 objStatus "Done"???
« Reply #2 on: 20 Mar 2004, 22:14:50 »
Maybe you could just synchronize the waypoints to the tirggers which complete each objective.  If "waypoint 1" is to attack first objective, synch it to your "obj1 done" trigger.  When the obj1 is done, it would show the new "waypoint 2."  Just a thought. :-X

merby1

  • Guest
Re:Next waypoint when Obj_1 objStatus "Done"???
« Reply #3 on: 21 Mar 2004, 15:14:11 »
Thanks guys!