Hey all,
Figured I'd better beta test this first. Anyways what I've got here is a decently (hopefully) working aircraft support script that when called it responds by sending the defined vehicle (actually could be anything, tank, person, but best be an aircraft I suppose) to the defined enemy.
Now there is another part too, you must define someone to knowsabout the defined enemy so the script will launch or rather get the defined vehicle moving. This was so you have to see the enemy first and if you wanna call air support on his ass you can. ;D You can cheat by making the defined observer/see'r person a person in the defined targets group so the knowsabout value will be satisfied.
The knowsabout is very easy to satisfy, I did it by clicking on no zoom on the target from 300m away (approximate).
Once that happens a "new target" is spawned and the defined vehicle comes in and attacks.
Once you see it and depbo the mission you'll grasp that this can be used for many things (air, tank, ground, infantry, etc.) of course anything but aircraft would need more scripting.
Blah blah blah...
Install the invisible target .pbo in your addons folder and either use the list in the script or the readme for the targets to use different kinds of targets. There are laser ones for A10s and armor ones for choppers.
I'll just show the explanation of the script so I can stop typing....
GUNSHIP SUPPORT SCRIPT by GuiltyRoachKillar
;To use make a trigger and make it activated by radio Alpha
;in the activation field put [supporte,choppername,enemy leader,"typeoftarget"] exec "Gsupport.sqs"
;the supporte is the one spotting the enemy, he has to know the enemy is there for the script to work
;I'll include the types of targets for you...
;Plus the addon too...
;play the example mission too and depbo it to see how I did it.
; ***************************************
;LesIETAÂ Â Â -EAST MAN TARGETÂ Â Â
;LesIWTAÂ Â Â -WEST MAN TARGETÂ Â Â
;LesIGTAÂ Â Â -RESISTANCE MAN TARGETÂ Â Â
;LesICTAÂ Â Â -CIVILIAN MAN TARGET
;******************
;LesIAETAÂ Â Â -EAST TANK TARGET
;LesIAWTAÂ Â Â -WEST TANK TARGET
;LesIAGTAÂ Â Â -RESISTANCE TANK TARGET
;LesIACTAÂ Â Â -CIVILIAN TANK TARGET
;******************************
;A10LGBs target these....
;LesILETAÂ Â Â -EAST LASER TARGET
;LesILWTAÂ Â Â - WEST LASER TARGET
;LesILGTAÂ Â Â - RESISTANCE LASER TARGET
;LesILCTA -CIVILIAN LASER TARGET
;************************************
;LesIIETAÂ Â Â - EAST IR TARGET
;LesIIWTAÂ Â Â - WEST IR TARGET
;LesIIGTAÂ Â Â - RESISTANCE IR TARGET
;LesIICTAÂ Â Â - CIVILIAN IR TARGET
; ***************************************
;The trigger can include the name of a enemy's group member to cancel out the knowsabout check.
;A simple right click on the target is all you need though.
;This script works for either side, Just define the targets...
Don't be intimidated by the amount of info, just play it and mess with it. Hopefully there are only a few bugs.
And after the aircraft is satisfied with the target, it just circles the area. Good for security I suppose or use a variable to get it to its next waypoint.
The aircraft does not always go crazy and blast away but sometimes they do. For instance the UH60 is fun to watch and I'd imagine the MI17 is too. ;D ;D
The A10LGBs haven't been working right but i haven't tested them much.
Anyways thanks for testin!
:thumbsup:
PS: I named the .zip file addon, its okay, I just was absent minded when naming it.
EDIT: Ohh and check your empty/objects under the letter I for the invisible targets themselves, they are fun to paly with too! ;D