Home   Help Search Login Register  

Author Topic: Boarding a chopper with a script  (Read 623 times)

0 Members and 1 Guest are viewing this topic.

Offline Viking

  • Members
  • *
  • NORSOF
Boarding a chopper with a script
« on: 09 Mar 2003, 00:34:35 »
This might be in the Ed Depot....(I didn't find it, anyway)

How do you board a chopper using a script?

Say I make a mission where i do not use waypoints(Veteran mission), and in the and the player("me") has to get into a chopper to extract.

How would I go about this?
At the moment I have a waypoint going from the player, straight to the Get In waypoint at the LZ, saying: "Ignore this until you have completed your objectives".(in case someone wants to play the mission in Recruit mode)

Thanks up ahead!
VIKING
Modeller/Skinner/Coder
NORFOR

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Boarding a chopper with a script
« Reply #1 on: 09 Mar 2003, 02:26:21 »
make completion of the heli waypoint dependent on completion of the objectives, using variables.    If the player wants to get in the chopper early, it won't leave.

The usual way of doing this is that the chopper does not even go to the extraction point until all of the objectives have been achieved.    The best way of doing this is to link the heli waypoint before the "load" waypoint (usuall its cycle or hold) with a switch trigger.       The trigger fires only when all the objectives are complete - use variables.

Hope that makes sense.

Edit:   you don't use a script to make the player get in a chopper .... the player can do whatever he likes, if you want him to get in a chopper you have to give him an incentive, like telling him that's the only way the mission will complete.
« Last Edit: 09 Mar 2003, 02:27:17 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Viking

  • Members
  • *
  • NORSOF
Re:Boarding a chopper with a script
« Reply #2 on: 09 Mar 2003, 21:14:02 »
Thanks, m8!


One more thing: How do i make the chopper wait for me after it has loaded the other squads?

It just takes off, and hovers over the LZ waiting, but doesn't come down again.....(i wrote me in helo in the condition filed of the choppers LOAD waypoint)
VIKING
Modeller/Skinner/Coder
NORFOR

Offline Viking

  • Members
  • *
  • NORSOF
Re:Boarding a chopper with a script
« Reply #3 on: 14 Mar 2003, 22:05:49 »
Anyone?
VIKING
Modeller/Skinner/Coder
NORFOR

Sol Fire

  • Guest
Re:Boarding a chopper with a script
« Reply #4 on: 15 Mar 2003, 02:59:19 »
in the Condition Feild of the Choppers LOAD waypoint put

aP IN Chop1

change aP to your mans name and Chop1 to the choppers name

Offline Viking

  • Members
  • *
  • NORSOF
Re:Boarding a chopper with a script
« Reply #5 on: 15 Mar 2003, 12:34:27 »
I already did that, but when I did, the chopper waited for me, but in MID-AIR!..... (as if I can fly)

Other suggestions?
VIKING
Modeller/Skinner/Coder
NORFOR