Home   Help Search Login Register  

Author Topic: Hawks Paradrop Script Not Working....  (Read 1138 times)

0 Members and 1 Guest are viewing this topic.

Offline izaktj

  • Members
  • *
Hawks Paradrop Script Not Working....
« on: 25 Dec 2008, 12:38:19 »
Maybe I'm not using it correctly, however the AI won't paradrop. What I do is the following, I give the hercules a move waypoint, on the activation field i write
Code: [Select]
[this] exec {\HWK_c130\script\parasoldiers.sqs}But nothing happens. However, it does work when I select it trough the command menu. The problem is I want AI to execute the script. Being it a popular add-on I guess someone has managed to make it work.

Thank you all.

EDIT: Figured it out, this is a place holder for the name of the aircraft.
« Last Edit: 25 Dec 2008, 21:36:01 by h- »

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re: Hawks Paradrop Script Not Working....
« Reply #1 on: 15 Jan 2009, 19:08:44 »
I like the hawk c130, but I usually use my own paradrop script that includes a feature that controls the area where the units land. Right now I am in Argentina visiting with my inlaws, so I do not have the script with me, but I can send it to you as soon as I get home. I will be home Jan 18.

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re: Hawks Paradrop Script Not Working....
« Reply #2 on: 20 Feb 2009, 07:21:10 »
izaktj,

I did some playing around and I see what you might be doing wrong. If you are activating the paradrop through the waypoint activation field using:
Code: [Select]
[this] exec {\HWK_c130\script\parasoldiers.sqs}It will not work. Instead, give the c130 a name (in its name field) and use this:
Code: [Select]
[nameofc130] exec {\HWK_c130\script\parasoldiers.sqs}
That should solve your problem. You can only use "this" as a parameter if it is in the init field of the vehicle. But if you did that then the script would begin as soon as the mission started.