Got working on a new script. Its so the player can call alpha or something like that and a gunship or what you specify comes to help out. However it helps out indirectly by doing rocket attacks. ;D
I got the invisible target things I can use, its just I'm not sure if the script actually does anything. I know when an invisible target like the tank one I'm using is created, helis use rockets or hellfires way before using the cannon. However when I did my test mission, the apache only attacked with cannon....
The readme I redownloaded is in some language I can't translate using any translators...
But I picked up what each target is named...
LesIETAÂ Â Â Â Â Â - Unsichtbares Ziel Mann Ost
LesIWTAÂ Â Â Â Â Â - Unsichtbares Ziel Mann West
LesIGTAÂ Â Â Â Â Â - Unsichtbares Ziel Mann Guerilla
LesICTAÂ Â Â Â Â Â - Unsichtbares Ziel Mann Zivil
LesIAETAÂ Â Â - Unsichtb. Ziel gepanzert Ost
LesIAWTAÂ Â Â - Unsichtb. Ziel gepanzert West"
LesIAGTAÂ Â Â - Unsichtb. Ziel gepanzert Guer"
LesIACTAÂ Â Â - Unsichtb. Ziel gepanzert Civ"
The name I used was LesIAETA for a east tank.
Now the script...
;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"
;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"
_f = _this select 0
_heli = _this select 1
_e = _this select 2
_type = _this select 3
_pos = getpos _e
#check
?(_f knowsabout _e > 1.8): goto "prepare"
~2
goto "check"
#prepare
_heli domove _pos
_heli setcombatmode "Red"
_heli setbehaviour "DANGER"
_heli flyinheight 65
goto "check2"
#check2
_pos2 = getpos _e
goto "attack"
#attack
t1 = _type camcreate _pos2
exit
The player guy who calls the trigger/script, is called _f and the enemy is called _e...
I want the guy who called the script to at least know where the enemy is so it seems more realistic.
Seems simple, just want the target to be created at the dude's position so the chopper rockets the crap out of him. :-\ ;D
thanks