Home   Help Search Login Register  

Author Topic: Objectives ending & extraction  (Read 650 times)

0 Members and 1 Guest are viewing this topic.

Commando

  • Guest
Objectives ending & extraction
« on: 10 Apr 2005, 11:47:10 »
Hi , i got a problem with figuring out how do i make the end#3 get activated when west gets back to base?
I want it to only get activated when NOT all objectives are done  

oh yeah and also anyone got a easy to work in chopper extraction script ? that works in MP  :D

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Objectives ending & extraction
« Reply #1 on: 10 Apr 2005, 11:58:54 »
trigger covering base, player's group (west/east/etc) present, and in the conditional field check your objective ending variables.

always handy, especially in situations like this, to have variables to represent objectives done or failed. so for example, obj1 = false, obj2 = false, etc in the init file at the start of the mission, then as the mission progresses, obj1 = true when the first objective is completed (as well as your "1" objstatus "done" ).

that way, when it comes to the base trigger, if you put in the conditional field not (obj1) and not (obj2) then the trigger will only fire if objectives 1 and 2 are incomplete.

reading back, that's not the clearest explanation in the world, but i hope you get the idea :)

Commando

  • Guest
Re:Objectives ending & extraction
« Reply #2 on: 10 Apr 2005, 12:33:34 »
yeah i'll try this when i get home laters  :) it sounded enough clear for me i think  ;)

Commando

  • Guest
Re:Objectives ending & extraction
« Reply #3 on: 10 Apr 2005, 17:59:13 »
it didn't work at all  :P it activated the end trigger at start of the mission then i tried spaces between the not (obj1) and not (obj2) like that and it didn't end the mission at start, but the trigger doesn't even get activated, what am i doing wrong?  :-[
or should i have the obj4flag true and the rest in that triggers condition field togheter with your stuff?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Objectives ending & extraction
« Reply #4 on: 10 Apr 2005, 19:10:51 »
Try

Condition:   this and ((not obj1) or (not obj2))
Plenty of reviewed ArmA missions for you to play

Commando

  • Guest
Re:Objectives ending & extraction
« Reply #5 on: 11 Apr 2005, 12:28:48 »
thx macguba! I'll try it as soon as possible  :D

*edit* sadly nothing happend now either :P
can it be because i have all objectives hidden?
though when i tested objective 1 was done and obj 2 was visible and objective 3 was hidden  ;D
« Last Edit: 11 Apr 2005, 12:44:56 by Commando »

vandeveen

  • Guest
Re:Objectives ending & extraction
« Reply #6 on: 11 Apr 2005, 13:14:47 »
as this and ((not obj1) or (not obj2)) is defenitly the correct syntax probpably you should check your missions objective conditions !?

perhaps your mission objflags/vars are'nt really set to "true" !?  :-X

Commando

  • Guest
Re:Objectives ending & extraction
« Reply #7 on: 11 Apr 2005, 13:32:26 »
they are , the true gets activated when the objectives are completed not b4 :P i don't know what to do,

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Objectives ending & extraction
« Reply #8 on: 11 Apr 2005, 15:20:35 »
It has nothing to do with whether objectives are hidden, visible or ticked.   All that matters is the variables.

Create a test missionette and experiment there.    One tiny spelling mistake will stop it from working.
Plenty of reviewed ArmA missions for you to play

Commando

  • Guest
Re:Objectives ending & extraction
« Reply #9 on: 13 Apr 2005, 01:44:56 »
i have discovered more exactly where the objective bug apears now, its when i get obj 5 marker visible on the map but.. the briefing doesn't get updated to show obj5 :P
then that of course messes everything up, but i have checked through all the variables obj1flag = true 's but i can't find a single error  :P if anyone can help me point out where i can find the error so i can fix it, yeah te briefing is still beta so its still going to see a major overhaul  ;D just as soon as im done with the mission  :)