Home   Help Search Login Register  

Author Topic: Especific problem with paradrops  (Read 516 times)

0 Members and 1 Guest are viewing this topic.

Andres E.

  • Guest
Especific problem with paradrops
« on: 10 Oct 2004, 10:23:07 »
Hello Gentlemen,

I have a specific problem when creating a mission for Para drop.
The mission is a simple Para jump in the jungle, I have set for three waypoints, and the first is for setting altitude "a flyinheight 100", the second is for the jump "aP globalchat "Green light. Everyone out! "[mygrp,heli1] exec "groupeject.sqs". When I get to the second waypoint I get the following error: "script groupeject.sqs not found". The funny thing is that when I do not se the altitude the mission works.

Thanks n advance.

Andres E.

  • Guest
Re:Especific problem with paradrops
« Reply #1 on: 10 Oct 2004, 10:39:28 »
Another question,

how do you have several squads (including own) para from the same plane/hello?.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Especific problem with paradrops
« Reply #2 on: 10 Oct 2004, 11:30:00 »
I am stummped by your first problem.  You seem to be saying that the game engine cannot find the script if you have set the height of a helicopter, but it can find it if you have not set the height.  I have used paradrops quite alot and never seen this.  My first thought is - What else have you changed?

I would suggest though that you use a trigger to execute the drop not a waypoint for the heli.  Heli's seem a bit liberal in they way they treat waypoints and so cannot always be relied on.

On your second question:  There are many ways.  Two possibilities are:
1. edit the script you use for the first group so that the second group eject after the first group have finished
2. at the end of the script that drops the first group, get it to run the script for the second group.
« Last Edit: 10 Oct 2004, 11:31:46 by THobson »

Andres E.

  • Guest
Re:Especific problem with paradrops
« Reply #3 on: 10 Oct 2004, 11:39:47 »
2. at the end of the script that drops the first group, get it to run the script for the second group.
How do I do it?.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Especific problem with paradrops
« Reply #4 on: 10 Oct 2004, 11:57:56 »
Well you know how when you run a script, say from a trigger,  you put something like
 [var1,var2,...] exec "scriptname"
in the activation field of a the trigger.  Well instead of putting it in the trigger put exactly the same in the code of the first script.  That way the first script will then run the second script.

In your example I would not do it that way.  What I suggest is you set a trigger that fires when the chopper is where you want it to start the drop.  Get that trigger to run the following script

_delay = 10
[mygrp,heli1] exec "groupeject.sqs"
~ _delay
[othergrp,heli1] exec "groupeject.sqs"
exit

and then just play with the value for _delay


Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Especific problem with paradrops
« Reply #5 on: 10 Oct 2004, 12:00:34 »
Also I presume you realise that:
Quote
"aP globalchat "Green light. Everyone out! "[mygrp,heli1] exec "groupeject.sqs"
Should be:
"aP globalchat "Green light. Everyone out! ";[mygrp,heli1] exec "groupeject.sqs"