OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Smoshy on 25 Mar 2003, 07:00:20

Title: Huey door gunners
Post by: Smoshy on 25 Mar 2003, 07:00:20
I have been trying to make a Vietnam Huey mission where I drop off troops in a hot LZ but for the life of me I can't get my door gunner to open up at anything. I tried the open fire engage at will line but my guy sits there doing nothing. Basically I want my gunner to shoot the f@#k out of any enemy he sees without me having to point them out. Is this possible?

Thanks
Smoshy
Title: Re:Huey door gunners
Post by: Artak on 25 Mar 2003, 07:25:10
Sometimes the AI can be silly like that. You could try putting in the dudes init field:
this setcombatmode "red"; this setbehaviour "combat"; this setskill 1

You could also try to make him not part of any group by typing in his init field
[this] join grpnull

Title: Re:Huey door gunners
Post by: Smoshy on 26 Mar 2003, 06:18:29
Thanks Artak. This worked wonders  :)