Home   Help Search Login Register  

Author Topic: getting out of chopper  (Read 463 times)

0 Members and 1 Guest are viewing this topic.

Shodan

  • Guest
getting out of chopper
« on: 27 May 2004, 21:25:54 »
 ::)Here I go again. I must be a real nuisance.

I want my player character to climb out a chopper. This is easy, I just tell the chopper (HELO1) to move somewhere and 'unload transport'. But what if I have another guy inside, like a commander who talks to you? I don't want him to get out as well.

HELO1 flyinheight 0; ALPHA1 leavevehicle HELO1

This was supposed to allow only the player (ALPHA1) to get out, but instead the chopper crew gets out and leaves me inside the chopper with the rotors going.

I placed the above script in the on activation field on a move waypoint. the chopper flys in fine, lands fine, but then the pilot gets out and abandons me. Why I oughta :beat:

any help would be much appreciated


Offline Clue

  • Members
  • *
    • Clue's OFP Page
Re:getting out of chopper
« Reply #1 on: 27 May 2004, 21:47:31 »
In the 'On Activation' box of the waypoint try:

unassignVehicle player

or

unassignVehicle alpha1

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:getting out of chopper
« Reply #2 on: 28 May 2004, 00:42:33 »
In theory, you don't need any code for this, just use waypoints.     The command doesn't have a getout waypoint so he stays in the chopper.    The player shouldn't have waypoints either (at least not ones that do anything) - he should just have orders to get out when the chopper lands.  

Choppers are a bit awkward so read the tute in the Ed Depot for some tips.    A land command usually helps.
Plenty of reviewed ArmA missions for you to play

StonedSoldier

  • Guest
Re:getting out of chopper
« Reply #3 on: 28 May 2004, 11:10:42 »
heliname land "get out" is always nice, makes the helli hover a few feet off the ground, good for emergency evac, choppers usually fanny around something rotten when it comes to landing

Dubieman

  • Guest
Re:getting out of chopper
« Reply #4 on: 29 May 2004, 00:17:10 »
Maybe make the chopper's waypoint a unload waypoint. Then make the players or whoever is affected have a get out waypoint that's syched to the unload waypoint.

Maybe...... :P