Home   Help Search Login Register  

Author Topic: Ending a mission w/ no win or lose  (Read 1847 times)

0 Members and 2 Guests are viewing this topic.

cirkut5732

  • Guest
Ending a mission w/ no win or lose
« on: 30 May 2005, 08:22:52 »
Hello everyone, I've created a mission and it's done, but I dont know how the make it end, Ive read tutorials but they all talk about win or lose or something, I just want a West loon to walk into a trigger and have the mission end, Ive tried the end#1 option but it didnt do anything.
Any help would be appreciated!
Thanks

Offline 456820

  • Contributing Member
  • **
Re:Ending a mission w/ no win or lose
« Reply #1 on: 30 May 2005, 08:32:32 »
okay create a trigger and make it into west present,
then into a end#1 in the box below then in the condition field make sure its "this"
and the mission should end when any western soldier walks into the area of the trigger.
If you only want it to end when the player walks into it do the same as a bove then press f2 and click on the trigger and drag it to the player NOTE - a faint blue line should now apear if not youve dont it wrong.

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #2 on: 30 May 2005, 11:18:57 »
Thank you for the reply!
  Also can i put an effect like say a short camera shot then a fade to black then end mission all in that same trigger or should i put the camera effect rigger a little before the end mission trigger?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Ending a mission w/ no win or lose
« Reply #3 on: 30 May 2005, 11:35:16 »
Don't use triggers for cameras.   It is actually easier to use a camera script, and you will get a much better effect.  

There is a little hump of learning to make a camera script, but it's very easy.   Read snYpir's Intro to Camera Scripting and then messiah's camera.sqs tute.   You must read both in that order.

The way the mission will actually end is like this.

Trigger1
Condition:  as you like (the Objective)
On activation:   done1=true

Trigger2  (the player present one)
Condition:  done1 and this    
On Activation:   [] exec "missionAccomplishedCutscene.sqs"

At the end of missionAccomplishedCutscene.sqs
end1=true

Trigger3
Type:  End#1
Condition:   end1

The variables done1 and end1 are used to control the triggers.  
Plenty of reviewed ArmA missions for you to play

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #4 on: 03 Jun 2005, 04:54:57 »
Thanks for the help. Im assumong i synchronize these 3 triggers right? I havent tried so i might be dead off!
 Thanks again

Offline 456820

  • Contributing Member
  • **
Re:Ending a mission w/ no win or lose
« Reply #5 on: 03 Jun 2005, 08:31:33 »
you shouldnt need to sycronise them just leave them as they are

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Ending a mission w/ no win or lose
« Reply #6 on: 03 Jun 2005, 10:29:08 »
No.   You never synchronise triggers to each other.
Plenty of reviewed ArmA missions for you to play

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #7 on: 03 Jun 2005, 23:17:57 »
So I just put all 3 triggers next to each other or all layered and on top of each other? or will ways work? Thanks again for all the help

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #8 on: 04 Jun 2005, 05:41:55 »
Sorry guys still having problems
 here's my deal.

The player starts in a chopper. chopper lands you get out, You get in a humvee and drive down
a road. Right in the middle of the road is a trigger thats set up as follows

detected by West
type end#1
present
condition this

i have no synchronize or group lines attached to this trigger, Now why does the mission not end
when the humvee passes over the trigger on the road?

Offline 456820

  • Contributing Member
  • **
Re:Ending a mission w/ no win or lose
« Reply #9 on: 04 Jun 2005, 09:01:56 »
present you cant have that it would have to be east detected by west or west detected by east something like that then it should work ii think itsw becuase youve got 2 conditions so it gets confused and wont fire

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Ending a mission w/ no win or lose
« Reply #10 on: 04 Jun 2005, 09:59:58 »
Quote
why does the mission not end when the humvee passes over the trigger on the road?

Two reasons I can think of:  (1) The trigger area might be so small that the humvee drives over it without triggering it (I forget how often a trigger is checked, but to be safe use a trigger depth that will ensure the humvee is in the area for > 1/2 second - this is usually more often a problem with choppers than land vehicles). (2) There might be another trigger somewhere that is of type end#1 that has not fired yet.
« Last Edit: 04 Jun 2005, 10:26:45 by THobson »

Offline 456820

  • Contributing Member
  • **
Re:Ending a mission w/ no win or lose
« Reply #11 on: 04 Jun 2005, 10:17:43 »
but if theres more than one humv then it should trugger but to be safe expand the trigger area like Thobson said

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Ending a mission w/ no win or lose
« Reply #12 on: 04 Jun 2005, 10:27:52 »
Well of course the trigger should be grouped with the unit that will trigger the end.  That way only that unit willcause the trigger to fire.

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #13 on: 04 Jun 2005, 19:45:29 »
Thanks for all the help guys. I will expand the trigger, its pretty big but maybe not 1/2 second big.
Also I did not have it grouped to the player i will do that to.
One last thing i hope, If not present then what should it be set to?
  Thanks again guys I wouldn't be anywhere in my campaign without all your help!

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Ending a mission w/ no win or lose
« Reply #14 on: 04 Jun 2005, 22:15:29 »
Quote
If not present then what should it be set to?
When you group the unit with the trigger you get a different set of options - I hope they are self-explanatory

Quote
Thanks again guys I wouldn't be anywhere in my campaign without all your help!
You are very welcome.  We all got help from others in our turn - and we are still getting it.

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #15 on: 05 Jun 2005, 00:07:21 »
Ya i noticed when i group the trigger to the player, The trigger turns into detected by vehicle?
I assume i leave this as is

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Ending a mission w/ no win or lose
« Reply #16 on: 05 Jun 2005, 00:17:31 »
I think you get further 'detected by' options in the trigger dialog, detected by vehicle must just be the default.


Planck
I know a little about a lot, and a lot about a little.

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #17 on: 05 Jun 2005, 00:55:40 »
ok, I grouped the trigger to the player and the only options that changed were the activation options. I have vehicle, Whole Group, and I think Any Group member options. Anyways what
should this be set to. and also should it be present or not present detected by west

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #18 on: 05 Jun 2005, 07:32:14 »
Nevermind guys i got it, I found a tutorial. All i neede to do was ForceEnd it in the On Activation field

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Ending a mission w/ no win or lose
« Reply #19 on: 05 Jun 2005, 09:06:44 »
That can't be right.  I have never had to forceEnd any mission.  Is there another trigger of the same end number that you might have forgotten about?

Offline 456820

  • Contributing Member
  • **
Re:Ending a mission w/ no win or lose
« Reply #20 on: 05 Jun 2005, 09:40:19 »
yeah if theres more than one trigger with say end#1 then all triggeres have to be activated for it to end

cirkut5732

  • Guest
Re:Ending a mission w/ no win or lose
« Reply #21 on: 06 Jun 2005, 01:41:45 »
I swear, I've double checked there is no more end#1 triggers anywhere. I dont know why
it wouldnt work without force ending it?