Fortran 1 Posted July 6, 2009 Hi guys, Just trying out a very simple CAS script to allow the player to call in an A-10, is all working fine but I need the A-10 to be indestructible to allow it to fullfil is duty to the player until it runs out of fuel (or time) and is removed from the gameworld. So far have this: _plane = [position spawnaten, 0, "A10", side player] call BIS_fnc_spawnVehicle _a10 = creategroup WEST; _plane join grpNull; _plane join group player; this addEventHandler ["HandleDamage", {false}]; However it is still getting shot down and destroyed when testing against some highly skilled AA guns. Have also tried this: _plane = [position spawnaten, 0, "A10", side player] call BIS_fnc_spawnVehicle _a10 = creategroup WEST; _plane join grpNull; _plane join group player; _plane addEventHandler ["HandleDamage", {false}]; But no joy, where am I going wrong with this? Any help would be greatly appreciated. Also is it possible to set the skill level of the A-10 in this script? Share this post Link to post Share on other sites
jackass888 0 Posted July 6, 2009 too complicated... a10 allowDamage false. Havent tried tho if it works on any vechicle Share this post Link to post Share on other sites
TurokGMT 0 Posted July 6, 2009 might be the pilot is getting nailed through the A10's armour. maybe try spawning an empty plane nice and high and moving a separate pilot onboard? Share this post Link to post Share on other sites
Cloughy 0 Posted July 6, 2009 too complicated... a10 allowDamage false. Havent tried tho if it works on any vechicle It works on A10s, i tested yesterday to make the AA light up the sky. But as someone else said, make the pilot seperate and give hime the allowdamage false command. Cheers GC Share this post Link to post Share on other sites
Tajin 349 Posted July 6, 2009 no need to create the pilot seperate. this allowDamage false; driver this allowDamage false; Share this post Link to post Share on other sites
Fortran 1 Posted July 8, 2009 Many thanks guys, works a treat. Appreciate your assistance! Share this post Link to post Share on other sites