Home   Help Search Login Register  

Author Topic: triggers and ending missions  (Read 731 times)

0 Members and 1 Guest are viewing this topic.

Offline aetchell

  • Members
  • *
  • I'm a llama!
triggers and ending missions
« on: 11 Dec 2002, 12:45:10 »
Hi all
Im having a problem ending the mission when my player reaches a set
waypoint, basically heres whats happening


I have 3 objectives

objective 1: eliminate a group at a waypoint (group name is PLF_1)

i have a trigger around the village the group occupies.

east not present

the condition of the trigger is : (count PLF_1) == 0

activation is OBJ1 = TRUE; "OBJ_1" ObjStatus "DONE"

type: switch

my next trigger is set in another village, its pretty much the same as the
first trigger

east not present

the condition of the trigger is : (count PLF_2) == 0

activation is OBJ2 = TRUE; "OBJ_2" ObjStatus "DONE"

type: switch

and one last trigger back at the start point with the condition :OBJ1 &&
OBJ2

on activation : "OBJ_3" ObjStatus "DONE"

type is end #1


ok, the problem is, i want the final trigger to activate when my player
returns to the start point but this does not work, i can eliminate the group
at the first village fine, 'objective completed' pops up and the next
waypoint is activated, i then go to the second village and eliminate the
second group, at this point it says  'objective completed' again then
straight after i hear the objective completed 'pinging' noise as the third
trigger is activated.

i dont want the last trigger activate untill my player walks into the
trigger area ,which is a small ellipse around the last waypoint

ive tried grouping the trigger to the player, and all sorts of crazy
combinates of east not present, west present but nothing works and its
becoming very frustrating

another issue i have to keep in mind for this last trigger, is friend units
who may walk through the last trigger at the start point at any time, as the
end mission trigger is in the middle of a friendly base that has a unit of
friendly soldiers and a couple of pilots, vehicles etc floating around.

anyone else had this problem? or got any advice on how to fix it


regards
Ashley Etchell

CrashnBurn

  • Guest
Re:triggers and ending missions
« Reply #1 on: 11 Dec 2002, 17:32:37 »
Your end trigger condition should be-

this && OBJ1 && OBJ2

The "this" means the player must be inside the trigger radius to activate it and your other conditions will already have been met so the trigger will fire now. Group the trigger to the player so it only fires when they enter it.

Offline aetchell

  • Members
  • *
  • I'm a llama!
Re:triggers and ending missions
« Reply #2 on: 11 Dec 2002, 18:01:45 »
Many thanks, will give it a try tonight.

regards
Ash

Offline aetchell

  • Members
  • *
  • I'm a llama!
Re:triggers and ending missions
« Reply #3 on: 13 Dec 2002, 13:17:09 »
That did the trick, many thanks :0)


ash :-\