RodBorza Posted March 18, 2021 Posted March 18, 2021 Hello all, I'm fairly new to scripting, so bear with me. Maybe someone can help me by showing how to do this or pointing me to the right direction. This is what I want to do: 1) It is a multiplayer arena type of engagement; 2) Once the teams get inside the arena, they slug it out; 3) If a aircraft is hit, it must not die, instead, its radar and armament system must be disabled until the player leaves the arena and gets to a respawn point, where the radar and armament system are enabled again. 4) Player thus can get back to the arena. The problem that I found is that failing systems can only be made in single player units and they are triggered by time only. How I thought of doing it: 1) Setting aircraft to Immortal; 2) Creating a "Unit Hit" Trigger; 3) Once a unit is hit, its radar and armaments are turned off. It could be done by "X:Cockpit Perform Clickable Action", by turning off the Master Arm and Radar knobs on the target aircraft. 4) However, I believe that a script can be more direct. What I would like at this moment is where can I learn how to script and where are the files that control these systems. The only ones I could find are for AI units. This is an amazing sim! 'Nuff said!:pilotfly: YouTube: SloppyDog
Recommended Posts