Home   Help Search Login Register  

Author Topic: Parachut  (Read 1366 times)

0 Members and 1 Guest are viewing this topic.

nogreymatter

  • Guest
Parachut
« on: 24 Nov 2005, 06:11:20 »
Im using the ejecting from a Chinook script by the[]coyote, but I'm using it with a BAS MH47 instead of the default BIS Chinook. I have 11 members in my squad but for the last three the chut doesn't open, but when I use the BIS Chinook nothing goes wrong. Does anybody know why its doing this, and if so how do I fix it?

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Parachut
« Reply #1 on: 25 Nov 2005, 08:46:32 »
Post the script for us please.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

nogreymatter

  • Guest
Re:Parachut
« Reply #2 on: 25 Nov 2005, 19:02:27 »
Link it for you on the site, or type it up as seen in a script editor?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Parachut
« Reply #3 on: 25 Nov 2005, 22:51:56 »
Either copy and paste it into your post, or (if it is big) attach it to your post.    There is an option for this near the bottom after you click Reply.
Plenty of reviewed ArmA missions for you to play

nogreymatter

  • Guest
Re:Parachut
« Reply #4 on: 29 Nov 2005, 23:09:17 »
_Group = _this select 0
_Vehicle = _this select 1


_listunits = units _Group

_A = 0
_B = count _listunits
#KEEPSENDING
_listunits select _A action ["EJECT", _vehicle]
Unassignvehicle (_listunits select _A)
_A=_A+1
~1
?_B >_A:goto "KEEPSENDING"
~1
MoveNext = TRUE

There is the script.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Parachut
« Reply #5 on: 30 Nov 2005, 00:06:56 »
The script looks okay.  You could try tghe following:

_Group = _this select 0
_Vehicle = _this select 1


_listunits = units _Group

_A = 0
_B = count _listunits
#KEEPSENDING
_listunits select _A action ["EJECT", vehicle (_listunits select _A)]
Unassignvehicle (_listunits select _A)
_A=_A+1
~1
?_B >_A:goto "KEEPSENDING"
~1
MoveNext = TRUE

But I suspect the problem is with the vehicle.  Try it also with a slightly longer delay.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Parachut
« Reply #6 on: 30 Nov 2005, 00:51:56 »
you could also call another script for each unit that checks if they're in a chute and if not makes one:

Code: [Select]
_unit = _this select 0
~3
?vehicle _unit != _unit:exit
_chute = "parachutewest" createvehicle (getpos _unit)
_unit moveindriver _chute
exit
and call it right before incrementing _A
[(_listunits select _A)] exec "scriptname.sqs"
« Last Edit: 03 Dec 2005, 00:59:37 by Triggerhappy »

nogreymatter

  • Guest
Re:Parachut
« Reply #7 on: 02 Dec 2005, 23:44:48 »
Alright thanks guys, will try it out.
« Last Edit: 02 Dec 2005, 23:45:03 by nogreymatter »

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Parachut
« Reply #8 on: 03 Dec 2005, 01:00:32 »
check the last line of my post again, i had a typo  ;D (the select _A part was missing)