Jump to content

Search the Community

Showing results for tags 'airports'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Arma Reforger
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter
  • Mercurious Brotherhood +2347063372861's +2347063372861>> I WANT TO JOIN OCCULT FOR MONEY RITUAL
  • 123betcasino01's Topics
  • TEORI BERITA's qqsuper99
  • QQSUPER99: Daftar Situs Slot Gacor Online Link Terbaru Gampang Menang's slot gacor
  • QQSUPER99: Daftar Situs Slot Gacor Online Link Terbaru Gampang Menang's slot gacor
  • 420TOTO - TOGEL TERBAIK HADIAH TERBESAR DAN TERPERCAYA's SITUS BO TOGEL HADIAH BOLAK BALIK DI BAYAR MIN BET 100 PERAK TERPERCAYA
  • 420TOTO - TOGEL TERBAIK HADIAH TERBESAR DAN TERPERCAYA's Slot Bonus | Bonus New Member 100% Di Awal | Depo 25 Bonus 25 Terbaru
  • Buy Alprazolam online Telegram - @bIueched's Get Xanax Online Telegram - @bIueched
  • حبوب سايتوتيك السعوديه - 00966599287172 وتساب's حبوب سايتوتيك السعوديه - 00966538159747 تيليجرام او وتساب الرياض
  • حبوب سايتوتيك السعوديه - 00966599287172 وتساب's Cytotec pills - 00966537466539 - حبوب سايتوتك في الكويت -
  • كود خصم سايتوتك الكويت | 00966537466539| مبارك الكبير's سايتوتك للبيع حبوب سايتوتك 
  • كود خصم سايتوتك الرياض | 0537466539| السعودية's سايتوتك صيدلية الدواء في السعودية الكويت الامارات |00966554748126 | جربيها وتساب
  • Call ☎ +27765274256 Spiritual Healer - Love Spell Caster Do You Want To Bring Back Your Lost Lover Within One Day? In New York, Monaco, London, Melbourne, Berlin, Miami's Revenge Spell, Curse Your Enemy Spell, Karmic Revenge Spell, Vengeance Spell, Payback Spell, Return Karma Spell, Destroy Your Enemy Spell WhatsApp ☎ +27765274256 1000 Hate Rituals SEND Curse & Evil Revenge RUIN Them WhatsApp ☎ +27765274256
  • Voodoo Revenge Curse Spells Call ☎ +27765274256 - Instant Killing Spells, Voodoo Evil Curse Spirits, Demonic Curse Ritual in California Sacramento Los Angeles Colorado Denver Connecticut Hartford Bridgeport Delaware Wilmington Florida Tallahassee's Voodoo Curse Black Magic Revenge Hex Take Away Their Life Spell Make Them D3AD Spell WhatsApp ☎ +27765274256 Fast Voodoo Spell - Voodoo Curse - Voodoo Hex (within 2 months) - Same Day Casting (within 24 hours) WhatsApp ☎ +27765274256 Voodoo Curse Spell
  • Telegram @Marksmen04 Buy Cocaine online in Boston's TopicsTelegram @Marksmen04 Buy Cocaine online in Boston
  • Telegram @Marksmen04 Buy Cocaine online in Boston's TopicsTelegram @Marksmen04 Buy Cocaine online in Chicago
  • Telegram @Marksmen04 Buy Cocaine online in Boston's TopicsTelegram @Marksmen04 Buy Cocaine online in Orlando
  • Telegram @Marksmen04 Buy Cocaine online in Boston's TopicsTelegram @Marksmen04 Buy Cocaine online in Miami
  • Telegram @Marksmen04 Buy Cocaine online in Boston's TopicsTelegram @Marksmen04 Buy Cocaine online in Honiara
  • Telegram @Marksmen04 Buy Cocaine online in Boston's Telegram @Marksmen04 Buy Cocaine online in Gönyeli
  • Telegram @Marksmen04 Buy Cocaine online in Boston's TopicsTelegram @Marksmen04 Buy Cocaine online in Launceston
  • Telegram @Marksmen04 Buy Cocaine online in Boston's TopicsTelegram @Marksmen04 Buy Cocaine online in Palmerston North

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 1 result

  1. Hello all, The command nearestAirport doesn't exist. Here is a little script for finding the nearest existing (native) airport or edited one (USS Freedom). MGI_fnc_nearestAirport = { params [["_plane",player,[objNull,[]],[2,3]],"_airport_pos","_airport_inter","_checkValue","_airportName","_airport_dir","_airport_or"]; private _world = (configFile / "cfgWorlds" / worldName); private _airports = [[0,getArray (_world / "ilsPosition"), getArray (_world / "ilsDirection")]]; private _airport_dist = 10^6; private _dynAirports = (allAirports #1); { _airports pushBack [_forEachIndex,getArray (_x / "ilsPosition"),getArray (_x /"ilsDirection")] } forEach ("true" configClasses (_world / "secondaryAirports")); if (_airports isNotEqualTo [] && ((count _airports !=1) or (_airports #0#1#0 != _airports #0#1#1))) then { _airports = _airports apply {[(_x#1) distance2D _plane,_x]}; _airports sort TRUE; _airport_dist = (_airports #0#0); _airport_pos = (_airports #0#1#1); _airport_dir = _plane getDir _airport_pos; _checkValue = (_airports #0#1#2); _airport_or = if ((_checkValue #2) != 0) then [{atan ((_checkValue #0)/(_checkValue #2))},{90}]; _airportName = text (nearestLocation [_airport_pos,"NameLocal"]); }; if (_dynAirports isNotEqualTo []) then { _airports = _dynAirports apply {[_x distance2D _plane,_x]}; _airports sort TRUE; _airport_inter = (_airports #0#0); if (_airport_inter < _airport_dist) then { _airport_pos = getpos (_airports #0#1); _airport_dir = _plane getDir _airport_pos; _airport_dist = _airport_inter; _airportName = "CVN"; _airport_or = (172+ getdir (_airports #0#1)) mod 360; }; }; [_airportName,round _airport_or,_airport_pos,round _airport_dist,round _airport_dir]; }; Usage: just call it like: call MGI_fnc_nearestAirport; // refers to player by default plane1 call MGI_fnc_nearestAirport; // refers to object plane1 [anyPosition] call MGI_fnc_nearestAirport; // any position must be an array inside the array of parameter (like: [getpos player] or [[xxx,yyy]]...) The function will return an array with: [name of the airport (location), orientation of the main runway/angle deck for CVN, position of the airport, distance, azimuth] Note: you can add it in cfgFunctions for better performance while calling it multiple times: In your description.ext (or cpp ,hpp in addons) class cfgFunctions { class MGI { class anyCategoryYouWant { file = "yourSubFolder(s)"; // "\yourSubFolder(s) for addon" class nearestAirport{}; }; }; }; Then place the code in an sqf named fn_nearestAirport inside your path (described as file). SQF starts with params line and ends with the returning array (must not be wrapped inside MGI_fnc_nearestAirport {...};) And same usage in scripts: plane1 call MGI_fnc_nearestAirport;
×