Home   Help Search Login Register  

Author Topic: How do i get troops to jump from a helicopter?  (Read 1273 times)

0 Members and 1 Guest are viewing this topic.

Kyonic

  • Guest
How do i get troops to jump from a helicopter?
« on: 18 Sep 2002, 17:33:19 »
i am making a mission and i need the men in one of the chopers to jump over this town how do i do it?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:How do i get troops to jump from a helicopter?
« Reply #1 on: 18 Sep 2002, 18:40:37 »
Hi Kyonic!

Type unitname action ["eject"] into a trigger's or waypoint's On Activation field and the jolly trooper will jump  :D
Not all is lost.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:How do i get troops to jump from a helicopter?
« Reply #2 on: 18 Sep 2002, 18:59:15 »
welcome 2 da forums Kyonic  ;D

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

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:How do i get troops to jump from a helicopter?
« Reply #3 on: 18 Sep 2002, 19:01:54 »
sorry artak but thats not the full story...

what will happen is that the men will jump from the chopper - but then the chopper will land and wait for the men to get back in... you need to unassign the men from the chopper as well as making them eject.

the easiest way is to use a script (dont worry - they are easy)

get it from the editors depot and look under code snippets and also FAQ

:thumbsup:
Proud Member of the Volunteer Commando Battalion

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:How do i get troops to jump from a helicopter?
« Reply #4 on: 18 Sep 2002, 22:27:40 »
Ah yes. So it is LOL =)    Lucky thing we have this FAQ place..  ;D
« Last Edit: 18 Sep 2002, 22:28:16 by Artak »
Not all is lost.

Mike

  • Guest
Re:How do i get troops to jump from a helicopter?
« Reply #5 on: 19 Sep 2002, 02:38:47 »
make a script, put the following in:

Code: [Select]
;scriptname.sqs
UnassignVehicle playername
playername action ["eject",heliname]

then in the game, make a trigger with a radius over where u want him to unload, group the trigger to the heli with (F2)

in the triggers On Activation field type:

[] exec "scriptname.sqs"

---------------------------------------

or maybe u can put the:

UnassignVehicle playername; playername action ["eject",heliname]

in that triggers on activation instead of making the script..?
« Last Edit: 19 Sep 2002, 02:45:34 by Mike »