arilm21 Posted May 24, 2024 Posted May 24, 2024 Is there any way to despawn a static object via a trigger? A cursory search has basically pointed to scripting being the answer which is too much of a pain for me. What I am doing is creating a mission that is essentially a target range that could be either single player or multiplayer and would from the start allow you to pick basically any aircraft type to jump in to and then either go shoot down or bomb targets. What I would like to do is have static versions of each aircraft be parked in the same spots on the ramp in the airbase and if a player chooses a specific aircraft the associated static object goes away as the player spawns in, I.E. there’s an F-14B parked in spot 77 that the player can jump into but until they do there’s a static F-14B placed in that same spot that disappears when the F-14B is picked. I thought about setting an aircraft as “uncontrolled” essentially but I can not set a player controllable aircraft up like that any ideas how to do this without scripting? I’ll freely admit since this will either amount to a me only mission or very few buddies this is mainly for eye candy, hence the wish to avoid scripting.
Solution kitten40 Posted May 24, 2024 Solution Posted May 24, 2024 The only way I know of is by using "StopGap". It is technically scripting, but needs no configuration (aside from adding a simple command in the mission editor). I use it faithfully and have had no problems whatsoever. See link below ... Ryzen 7 5800X3D, MSI B450 Tomahawk Max, 64GB DDR4, EVGA RTX 3080Ti FTW3, (Was Reverb G2 / Now Quest 3) Fixed Wing: F18, FW190A&D, M2000, MiG21, Mosquito, P47, P51, Spitfire, Yak52, A10CII, Viggen, BF109, C.EagleII, F14, F16, F4E, F5E, FC3/4 Rotor: KA50III, Mi24, Mi8, OH58, Gazelle, UH1H Huey, Apache, CH47 Maps/Misc :Supercarrier, Combined Arms, WWII Asset Pack, Afghanistan, Caucasus, South Atlantic, Iraq, Kola, Marianas, Nevada, Persian Gulf, Sinai, Syria, The Channel
TEMPEST.114 Posted May 24, 2024 Posted May 24, 2024 Use the DO SCRIPT ACTION in the mission editor and use this: https://wiki.hoggitworld.com/view/DCS_func_destroy
kitten40 Posted May 24, 2024 Posted May 24, 2024 @TEMPEST.114 Did they finally get this to work in multiplayer? ( Notes: Cannot be used on client aircraft in multiplayer I know the wiki notes are from 2022 but maybe it's been rectified since?) If so, I'll use it as well, but I've just assumed it to be not working in that environment. When it comes to stuff like this I'll take your advice (and Rudel's) over mine anyday Ryzen 7 5800X3D, MSI B450 Tomahawk Max, 64GB DDR4, EVGA RTX 3080Ti FTW3, (Was Reverb G2 / Now Quest 3) Fixed Wing: F18, FW190A&D, M2000, MiG21, Mosquito, P47, P51, Spitfire, Yak52, A10CII, Viggen, BF109, C.EagleII, F14, F16, F4E, F5E, FC3/4 Rotor: KA50III, Mi24, Mi8, OH58, Gazelle, UH1H Huey, Apache, CH47 Maps/Misc :Supercarrier, Combined Arms, WWII Asset Pack, Afghanistan, Caucasus, South Atlantic, Iraq, Kola, Marianas, Nevada, Persian Gulf, Sinai, Syria, The Channel
TEMPEST.114 Posted May 24, 2024 Posted May 24, 2024 7 minutes ago, kitten40 said: @TEMPEST.114 Did they finally get this to work in multiplayer? ( Notes: Cannot be used on client aircraft in multiplayer I know the wiki notes are from 2022 but maybe it's been rectified since?) If so, I'll use it as well, but I've just assumed it to be not working in that environment. When it comes to stuff like this I'll take your advice (and Rudel's) over mine anyday Works perfectly for static units in SP or MP. 1
Recommended Posts