Home   Help Search Login Register  

Author Topic: cargos for paradropping  (Read 2446 times)

0 Members and 1 Guest are viewing this topic.

Korax

  • Guest
Re:cargos for paradropping
« Reply #15 on: 19 Dec 2004, 09:40:35 »
(cargo |#|_plane) - [driver _plane,,)

Whats cargo? Thats not a valid OFP command!
Your probably looking for crew

Bluelikeu

  • Guest
Re:cargos for paradropping
« Reply #16 on: 19 Dec 2004, 09:56:20 »
Yulp, he's right. Such silly mistakes.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:cargos for paradropping
« Reply #17 on: 19 Dec 2004, 15:51:26 »
 :P d**n :P

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:cargos for paradropping
« Reply #18 on: 19 Dec 2004, 19:30:59 »
would this be it then

Code: [Select]
_plane = _this select 0
_delay = _this select 1
;eliminates all possible non-cargo units
_crew = (crew _plane) - [driver _plane,commander _plane,gunner _plane]_crewcount = (count _crew) - 1
_i = -1

#loop
?_i == _cargocount:exit
_i = _i + 1
_man = _cargo select _i
_man action ["eject",_plane]
~_delay
goto "loop"
exit
« Last Edit: 19 Dec 2004, 21:18:14 by penguinman »

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:cargos for paradropping
« Reply #19 on: 19 Dec 2004, 21:16:59 »
it still gives an error message, this time the "|#| is here

_crew = (crew _plane) - [driver _plane,commander _plane,gunner _plane]|#|_crewcount = (count _crew) - 1
  ^
  ^
there is the |#| in the error message
« Last Edit: 19 Dec 2004, 21:19:00 by penguinman »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:cargos for paradropping
« Reply #20 on: 19 Dec 2004, 21:27:17 »
Code: [Select]
_crew = (crew _plane) - [driver _plane,commander _plane,gunner _plane]; _crewcount = (count _crew) - 1


Planck
I know a little about a lot, and a lot about a little.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:cargos for paradropping
« Reply #21 on: 19 Dec 2004, 21:57:00 »
actually, that is the line i fixed previously, i had it on the next line, shouldn't matter though

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:cargos for paradropping
« Reply #22 on: 19 Dec 2004, 22:44:14 »
hey it works, thanks

but this brings up a new problem,

when i try to use it on the c-130 addon which already has a para script in the action menu when in it then when i activate any other para script besides the one that came w/ c-130 addon it messes somthing up and the men are ejected and then 2 secs later there parachutes are created but not with the unit inside the parachute so basicly

they are ejected w/ out a parachute. it gets very messy. how would i fix this.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:cargos for paradropping
« Reply #23 on: 19 Dec 2004, 22:45:55 »
hmm sry that wasent very clear.


c-130 addon comes with a parachute script

when i try to use any other parachute script besides the c-130 one then the men are ejected w/ out parachutes
« Last Edit: 19 Dec 2004, 22:46:13 by penguinman »

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:cargos for paradropping
« Reply #24 on: 19 Dec 2004, 22:58:45 »
uhh.. open up the addon and see if it has any way off turning off that script, check the readme and even post the script if you can

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:cargos for paradropping
« Reply #25 on: 20 Dec 2004, 01:12:52 »
oh i deleted the script from the addon and now it works

thanks.

by the way triggerhappy

i finished the mission for the script so i dont know how i should send it to u

just tell me :)
« Last Edit: 20 Dec 2004, 01:13:16 by penguinman »

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:cargos for paradropping
« Reply #26 on: 20 Dec 2004, 04:23:50 »
email, but i believe we've talked about this already

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:cargos for paradropping
« Reply #27 on: 21 Dec 2004, 04:49:06 »
sry yes i had posted that before we talked