OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: izaktj on 25 Dec 2008, 12:38:19

Title: Hawks Paradrop Script Not Working....
Post by: izaktj 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.
Title: Re: Hawks Paradrop Script Not Working....
Post by: Raptorsaurus 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.
Title: Re: Hawks Paradrop Script Not Working....
Post by: Raptorsaurus 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.