Home   Help Search Login Register  

Author Topic: to bail out or not bail out..that is the question  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

TAPNKEGS

  • Guest
to bail out or not bail out..that is the question
« on: 05 Feb 2003, 21:25:59 »

   ARRGH.  ok all calm now. got a mission where I would like a c-47 to be flaying low over a town at around 300m and then when it hits a waypoint to automaticly "eject" me and my group via parachute down to the town.

   I've looked at the different scripts available and i cannot for the life of me figure out the syntax to get it to work...please help

the group name is "dude" and the plane name is "C1"

if someone could point me in the right direction to find an easy script to use and type out exactly what i need to put in the init field of the waypoint i would be most thankful.

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:to bail out or not bail out..that is the question
« Reply #1 on: 05 Feb 2003, 21:34:05 »
The associated ReadMe.txt or the header of the script should tell you how to use it.

For example, I examined LustyPooh's ejection tutorial mission/script.  In his script, he wrote:

Code: [Select]
; Script Invokation :
;   To execute this script you use the following format :
;     [groupid,vehicleid] exec "groupeject.sqs"
;
;   where :
;      groupid : This is the id of the group that you get when you do a group this in one
;      of the group's vehicle Initialization fields.
;      vehiclename is the value of the name field (including quotes) for vehicle you want
;      to have the group eject from
;
; Example :
;    [mygroup,heli1] exec "groupeject.sqs"

So, if you were to use his script with your example group and airplane, the syntaxt would be as follows:

[dude,c1] exec "groupeject.sqs"
Ranger

Kaliyuga

  • Guest
Re:to bail out or not bail out..that is the question
« Reply #2 on: 05 Feb 2003, 21:36:33 »
 Ask and ye shall recieve... here's an oldy but goody...  it's always done me right in just the situation you're talking about ;)


written by Lustypooh , and residing on my hard drive for quite sometime now.....   the groupeject.sqs    


put the .sqs file in yer mission

name your chopper...   call it ch for this example  

put this in the init field of your group leader ( you in this case)

grp=group this



now.. in your waypoint put this bit of code:

[grp,ch] exec "groupeject.sqs"

where grp = your groups name....  and ch= the choppers name

and should work like a charm ....
:cheers:

TAPNKEGS

  • Guest
Re:to bail out or not bail out..that is the question
« Reply #3 on: 05 Feb 2003, 21:45:29 »
guys that worked like a CHAMP  ;D ;D  thanks so much. I was using different scripts then that which were waaaaay more complex.  Now to put in my "Band of Brothers" DVD's and continue editing..  thanks again for the fast response.