OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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
[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.
-
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.
-
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:
[this] exec {\HWK_c130\script\parasoldiers.sqs}It will not work. Instead, give the c130 a name (in its name field) and use this:
[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.