Black_Ice931 5 Posted March 2, 2019 Hello guys, I am new in all of this and I was trying to create some scripts for missions I would like to make. Basically I have this plane flying above an enemy area and I would like it to receive a hit from an AA missile and crashing. So what I need is a script with a timer that makes a AA unit with a launcher to shot and hit the plane. Would you be able to help me? Or suggesting me the right path to follow to do it? As said, I am new and I am trying to understand how everything works 😛 Cheers. 1 Share this post Link to post Share on other sites
Maff 251 Posted March 2, 2019 Quick reply... There are 2 BIS functions that spring to mind: BIS_fnc_neutralizeUnitBIS_fnc_EXP_camp_guidedProjectile Both of these can be used in a trigger. 3 1 Share this post Link to post Share on other sites
Black_Ice931 5 Posted March 2, 2019 33 minutes ago, Maff said: BIS_fnc_neutralizeUnit If i want to use this one, the sintax will be: cursorTarget call BIS_fnc_neutralizeUnit; That cursorTarget is the name of my unit? And the call what means? Share this post Link to post Share on other sites
Maff 251 Posted March 2, 2019 Yes. So name your plane in the editor. Let's call the plane: plane Then in a trigger On Act field put: plane call BIS_fnc_neutralizeUnit; Call is the method of executing the function; BIS_fnc_neutralizeUnit. I have never used BIS_fnc_EXP_camp_guidedProjectile but the following link has a bit more information and correct example. 1 Share this post Link to post Share on other sites
johnnyboy 3803 Posted March 2, 2019 1 hour ago, Maff said: BIS_fnc_neutralizeUnitBIS_fnc_EXP_camp_guidedProjectile Thanks Maff. I didn't know about either of these functions. I have probably hardcoded a dozen of my own "guidedProjectile" code snippets to move objects...and could have used this one call!!! Share this post Link to post Share on other sites
Alleged Accomplice 29 Posted October 14, 2020 I love this, while I'm testing something else I can stop and watch "Bill" be killed over and over cause I have him in a trigger with his name on it. 1 3 Share this post Link to post Share on other sites