Jump to content

FallenFox

Members
  • Posts

    3
  • Joined

  • Last visited

About FallenFox

  • Birthday June 27

Personal Information

  • Flight Simulators
    DCS: World Openbeta, Elite Dangerous
  • Location
    United States
  1. Edit: It looks like only certain weapon names are nil. I tried this with the HIT event as well. But it seems the AIM 120_C specifically will show as nil when involved in that event. Same goes for the R77, and some (maybe all) Aim-7s as well. Notably, the AIM-9 DOES return with the correct name
  2. NOTE: Event ID 28 is (S_EVENT_KILL) local e = {} function e:onEvent(event) local m = {} if event.id == 28 then if event.weapon then local m = event.weapon:getDesc().displayName trigger.action.outText(m, 15, false) end end end When I try to check event.weapon it is always nil. It won't go into that IF branch. This works on my local install but not on a dedicated server. So I think this is a bug on dedicated servers.
  3. Github link to download: https://github.com/Fallen-Technologies/OutofmyZone The formatting of the post is better visualized over on the Github page, I recommend reading there! Out of my Zone! A simple DCS Script for creating No-Fly-Zones for each coalition. Rather than creating an individual trigger for each aircraft, checking if they're in enemy air space, and exploding just that one unit. This script will do it with just 1 trigger per zone! REQUIRES mist.lua! Can be found here: https://github.com/mrSkortch/MissionScriptingTools HOW TO SETUP: 1. Create a ONCE trigger with a TIME MORE (1) and DO SCRIPT FILE mist.lua 2. Create a ONCE trigger with a TIME MORE (2) and DO SCRIPT FILE outofmyzone.lua 3. Create a zone to cover the area you want to protect. HOW TO USE: 1. Create a REPETITIVE trigger 2. Conditions: PART OF COALITION IN ZONE [enemy coalition, zone name, ALL] 3. Actions: DO SCRIPT outofmyzone('coalition to protect', 'zone name') [Ex: outofmyzone('blue', 'Zone-1') ] 4. Repeat for as many zones as you want! WHAT WILL HAPPEN: When an enemy unit crosses over the border of the zone, the script will create a 100 size explosion to destroy it. Then it will have pop up text saying "(Unit-Name) (Player-Name) entered enemy territory and has been eliminated" for 15 seconds EXAMPLE:
×
×
  • Create New...