Jump to content

Search the Community

Showing results for tags 'arrays'.



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
    • 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 Server tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Virolahti
  • TKO's Livonia
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • 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

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 7 results

  1. Gentlemen, I am looking for a way to pull one array each for Uniforms, vests, backpacks, headgear and so on from configfile, similar to below example for weapons. I would like to pull all equipment items, and then pick out all uniforms or vests or.... (whatever group of items that I want to make an array for) by filtering it by the "parent" name. (eg, below example "if "rifle" in _parents) Now I tried to find the correct parents in config viewer by placing an uniform in eden editor and then rightclick + show in config viewer, but i think i get the wrong parents there (maybe just the vehicle for the placed uniform / "groundweaponholder"?) Anyway none of the parents work and i wonder where i am going the wrong way. For backpacks for example, I selected a backpack from the cfg vehicle list in the config viewer and found the parent "Bag_Base" (or something like that) and it would return an array of backpacks, however, many of the backpacks would contain items. Is there a way to avoid this? In the end I only want each array to contain empty vests/uniforms/backpacks. I think my problem is that I use the wrong method to search for an example classname in config viewer and therefore it provides me with wrong parents. I would appreciate any help or guidance in that respect;) Thanks VD
  2. Just collecting classnames and putting it into format for use: ALL CUP Weapons (with attachments): CUP Weapons (without/with very limited Attachments)
  3. Hi all, I am looking for a solution or some guidance to understand how I can pull arrays of loot (e.g. weapons, gear,...) from a separate file into a .sqf file. What I want to do: - create a master file with arrays of items, weapons, or structures - create scripts (e.g. LINK)that spawn loot that can access those master files - have one single file where I can alter those arrays without having to update the arrays in each single script an example for an array that is currently in each of my scripts and that I would like to export into a master file and then acces from such master file: _itemsArray =[ "rvg_canOpener", "rvg_plasticBottlePurified", "rvg_spirit", "rvg_franta", "rvg_milk", "rvg_rice", "rvg_hose", "rvg_guttingKnife", "rvg_tire", "rvg_purificationTablets", "rvg_flare", "rvg_matches", "rvg_Geiger", "rvg_toolkit", "rvg_antiRad", "muzzle_snds_B", "muzzle_snds_L", "acc_flashlight_pistol", "optic_DMS" ]; Any input is very welcome;) thank you and cheers vandeanson
  4. Using the example provided by the WIKI Works great when placed into individual map placed units but Id like to have the ability to have master control over the whether they spawn in mass or just walk into a certain area. A. _this = _this select 0; [_this,"SIT2"] call BIS_fnc_ambientAnim; 0 = _this spawn waitUntil {behaviour _this == "combat"}; [_this] call BIS_fnc_ambientAnim_terminate; Doesnt Work B. {[_x "SIT2"] call BIS_fnc_ambientAnim; 0 = [_x] spawn {waitUntil {behaviour _x == "combat"}; [_x] call BIS_fnc_ambientAnim_terminate}} foreach thisList Also getting Undefined errors on this.
  5. Firstly I do not understand the need for the "unchanged" and "no change" when scripting waypoints? What are they for? whats the difference between: and.... whats the difference? 2nd question: How do i cycle the next element in an array each time i use, for example, add action "click"? _array [one,two,three]; player addaction ["click" { ????}]; So when i activate action "click" first time it hints "one", then when i activate it a second time it says "two" and so on. ForEach does not seem to be the answer as it does all three at once every time i activate "click". I need the array to cycle every time i select click? The "click" is an example what i want is to cycle camera channels on one TV, see code below the "camera select" part, at the moment i have to set each camera using a variable as a switch... Any help appreciated. thx ;)
  6. Hi, I'm looking for some help in figuring something out. I am currently trying to create a logistic script with the help of the ACE3 interaction framework. My goal is to create something similar to R3F and igiLoad. Attaching the actual cargo objects to the vehicle, but instead of a one-dimensional manner I want to have it 2D. What I mean is: Take for example an Offroad and look at the truckbed. Now devide that into a grid lets say it is 3 units wide by 8 units long and define every loadable object as taking up x,y amount of grid space. There are many ways you fit things in there and attach them to the vehicle. An object that is 1x2 will fit in rows and columns. So my question really is : what would possibly be the best way to go at this problem? What might be the best approach, are there some functions I can use to make things easier? The inventory system in general? I can imagine some kind of tetris logic that would be able to accomplish this, but I'm afraid my approach would be very bulky and ugly. Also I don't really know what the best way of keeping track of the vehicles inventory would be. So I want to pose those questions to anyone here, who has more experience and knowledge, and might be able to help me figure this one out. Any pointers or thoughts would be apprechiated! If anyone wants to look at what I already have, nothing special just able to load/unload one object at the moment: https://pastebin.com/cHxknQdQ Cheers!
  7. As the title suggest i am trying to get some position from arrays of the command "nearestObjects". I want the "nearestObjects" to look for a certain amount of house, so i can identify a village or town with the script and then use the average of all the listed house in the array. That way the position i am after will not be heavily affected by one or two houses caught in the calclated radius. _Center = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition"); _mapsize = (_Center select 0)*2; _RandomStartPos = [_Center, (_mapsize*0.77), (_mapsize*0.78), 3, 1, 20, 0] call BIS_fnc_findSafePos; sleep 1; player moveInCargo [_heli,5]; _enemySpawnPos = [_RandomStartPos, (_mapsize*0.7), _mapsize*0.71, 3, 0, 20, 0] call BIS_fnc_findSafePos; createMarker ["marker2",_enemySpawnPos]; "marker2" setMarkerShape "ELLIPSE"; "marker2" setMarkerSize [500,500]; "marker2" setMarkerText "Enemy resupply line"; "marker2" setMarkerAlpha 0.5; _findhouses = nearestObjects [_enemySpawnPos, "house"", (_mapsize*0.2)]; //small problems on this line _divide = count _findhouses; _fortifiedpos = _findhouses/_divide; //The bigger problem createMarker ["marker3",_fortifiedpos]; "marker3" setMarkerShape "ELLIPSE"; "marker3" setMarkerSize [500,500]; "marker3" setMarkerText "Enemy resupply line"; "marker3" setMarkerAlpha 0.5; I not really sure how should proceed, because i dont think the line "_fortifiedpos" will work, the problem above prevents it from execute. "nearestObjects" contains arrays of the houses and the houses also have arrays, if there isnt a command that would merge the arrays. If anyone have any input that would be nice, arrays are some a bit new to me so this is kind of over my head.
×