Home   Help Search Login Register  

Author Topic: Helicopter Landings  (Read 1010 times)

0 Members and 3 Guests are viewing this topic.

Eben

  • Guest
Helicopter Landings
« on: 23 Dec 2002, 07:57:21 »
I've been playing OFP and making missions for awhile now. But now I'm beginning to make missions using Helicopter Gunships. The only problem I have having with these missions are the End Triggers. I would like to end my mission by completing the objective, and then Landing the Chopper back at base, where the mission should end. How do you do this???

I've looked all over the Forums and I cant seem to find any discussion about this.

Could someone please help me!!!

mpbm

  • Guest
Re:Helicopter Landings
« Reply #1 on: 24 Dec 2002, 00:19:38 »
Couldn't u work with the position of the Heli, z==0 ???

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Helicopter Landings
« Reply #2 on: 24 Dec 2002, 00:37:22 »
yes in da coindition of da ending triger dere should b

Code: [Select]
(getpos chopername select 2 < 3) and somthin
while da somthin is condition dat make sure dat da player finished his objective

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

Offline Allie

  • Members
  • *
  • I'm a llama!
Re:Helicopter Landings
« Reply #3 on: 24 Dec 2002, 02:09:00 »
ok listen up

Make sure your last objective has trigger thats activates an objective status "DONE"(lets say if you have done your objective the status of "obj3c=1")

Now make a trigger activated by west(or ur side) and for TYPE choose END#1 then in the condition field place "this and obj3c==1" , place this trigger at your home base(make sure its not entered by your side troups after you finnished your last objective!!)

So now when u have finnished your last objective(obj3c) the trigger at your home base will get active :) so when you get back to that place your mission will end :)


Hope i have give u an idea for what i mean
« Last Edit: 24 Dec 2002, 20:27:19 by Allie »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Helicopter Landings
« Reply #4 on: 24 Dec 2002, 02:25:15 »
@ Allie - did u ever try it ?

i have feeling it wil not work  :P

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

Eben

  • Guest
Re:Helicopter Landings
« Reply #5 on: 24 Dec 2002, 02:40:44 »
Thanks Guys. I'll give all of those a go. Even though I've made heaps of missions, I'm still learning how to link the Objectives together. Almost got it right.

Eben

  • Guest
Re:Helicopter Landings
« Reply #6 on: 24 Dec 2002, 04:19:16 »
OK... I've tried them and they don't seem to work for me. I'm doing something wrong so lets start again.

Lets just start off with something simple. I've got 2 objectives. I want too leave my start position, (lets say a base), go too one objective, complete it, then go too the next, complete that, and then go back to where I started, the base to complete the mission.

So far I've worked out How to do the first 2 objectives, but as for coming back to base and completeing the mission, I cant get that part of it too work.

Allie, I've tried what you told me too do, and most of it did work but the end part. When I complete my last objective, the mission ends there, instead of at my home base.

Is there a Example mission or does someone have something I can look at to get an idea on how to make this work??

Thanks

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Helicopter Landings
« Reply #7 on: 24 Dec 2002, 04:38:12 »
just do wat Allie told u but add 2 da condition

this and (getpos chopername select 2 < 3) and

after da last and add wat Allie told u ;D

also group da choper 2 da triger

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

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Helicopter Landings
« Reply #8 on: 24 Dec 2002, 19:54:50 »
You can do the easier thing and just put a Get Out waypoint as the chopper's last WP at the base.  In the WP's activation field, put something like CanWin = true.  Then, make a trigger with a condition of CanWin, and have that trigger activate End#1, or whichever ending you'd like.  Less work.
Ranger

Offline Allie

  • Members
  • *
  • I'm a llama!
Re:Helicopter Landings
« Reply #9 on: 24 Dec 2002, 20:21:54 »
ok I know it can be done easyer but this the way i use:

hope this works ,i'll attach an mission.sqm file hopefully ,

just make an empty mission in editor give it name put just 1 unit in and save it
then put in the mission.sqm file (just override the one allrdy in there


Just remove the word REMOVE from name of file
« Last Edit: 24 Dec 2002, 20:23:02 by Allie »

Eben

  • Guest
Re:Helicopter Landings
« Reply #10 on: 27 Dec 2002, 08:42:03 »
Hey Allie and LCD.

I've finally got it working!!! A bit of help from both you guys, and some experimenting and finally I got what I wanted and more. Not only did I want to know who to end a mission by landing a chopper, but I also wanted to get too know how to get the Objectives working. I've now done both of this, and it's a new beginning for OFP mission for me.

Thanks again guys!!!

Eben

  • Guest
Re:Helicopter Landings
« Reply #11 on: 27 Dec 2002, 08:44:24 »
By the way Ranger,

I'll also try what you told me do with the CanWin.

Thanks for that!!