Jump to content

Forums

  1. BOHEMIA INTERACTIVE

    1. BOHEMIA INTERACTIVE - NEWS

      Latest news from Bohemia Interactive

      118
      posts
    2. BOHEMIA INTERACTIVE - JOBS

      Are you a modder? Take your skills to a whole new level: become a game developer.

      24
      posts
    3. BOHEMIA INTERACTIVE - GENERAL

      Discussion about Bohemia Interactive and its activities (other than OFP / Arma)

      12935
      posts
  2. FEATURED GAMES

    1. 932841
      posts
    2. DAYZ   (12574 visits to this link)

    3. TAKE ON MARS

      Take On Mars places you in the seat of a Rover Operator, allowing you to control the various, fully simulated mobile Rovers and stationary Landers. With this scientific arsenal at your disposal, you will work your way through the numerous Science Missions in each location, unlocking the secrets of Mars' distant past.

      2281
      posts
    4. 847471
      posts
    5. 4271
      posts
    6. YLANDS   (7686 visits to this link)

  3. MOBILE GAMES

    1. ARMA MOBILE OPS

      Build your base, put up some mighty defences and lead your military force through epic battles in Arma Mobile Ops, a military strategy game for iOS and Android.

      265
      posts
    2. 1180
      posts
    3. ARMA TACTICS

      Arma Tactics takes the best from the popular strategy genre... and goes mobile. The finest assets used in the critically acclaimed Armaâ„¢ series on PC now come to life on the Android mobile platform, in one of the best looking mobile games to date.

      221
      posts
    4. ARMA 2 FIRING RANGE

      Arma 2 firing range is the ultimate firing range simulation utilizing accurate high-poly weapon models used in the award winning Arma 2 tactical shooter videogame. Pick a weapon from dozens available.

      243
      posts
  4. BOHEMIA INCUBATOR

    1. 13
      posts
  5. OTHER BOHEMIA GAMES

    1. 17500
      posts
    2. 9519
      posts
    3. 357572
      posts
    4. 615684
      posts
    5. 4920
      posts
    6. 146
      posts
  6. OFFTOPIC

    1. OFFTOPIC

      For discussions not strictly related to our games. Topics should ideally still be related in some way, for example: military, politics, science. Note that just because this is for offtopic it's not a case of "anything goes", silly topics and especially topics which don't have any scope for discussion will be closed/deleted.

      362791
      posts
  • Topics

  • Posts

    •   You're using 4 commands (isNil, call, compile, pushBack) in an if then statement inside a forEach loop, not the most practical way and takes quite some time to run. Assuming only the last one is alive the above can be condensed as follows: //original example: //init array once before performance test townenemy = ["wp1_enemy1","wp1_enemy2","wp1_enemy3","wp1_enemy4","wp1_enemy5","wp1_enemy6"]; //performance test {if !(isnil {call compile _x}) then {_townenemy pushBack _x }} forEach townenemy;//runs for 0.0137ms, if only wp1_enemy6 exists in mission //improved example: //init array once before performance test townenemy = [wp1_enemy1,wp1_enemy2,wp1_enemy3,wp1_enemy4,wp1_enemy5,wp1_enemy6];//use objects instead of strings //performance test _townenemy = townenemy select {alive _x};//runs for 0.004ms, if only wp1_enemy6 exists in mission You can use "alive" to check if something exists, it will return nothing if not alive or non existant and the select command acts accordingly. Improved example takes only 0.004ms, instead of 0.0137, which is a third of the runtime.   Cheers
    • You have CUP Terrains - Core 1.3.0, update it to 1.4.2
    • So I've been stuck with this issue for a while. I've tried asking different people but I haven't been able to find anyone who knows how to do this. Basically what I'm trying to replicate is Eden menus (e.g attribute menus) blocking input to background dialogs when their opened. For example, when you open an overlay display in the Eden editor, you will only be able to interact with that display, and any input to background ones are disabled. I have looked into the Eden editor dialog classes, and I can see that they all use "ctrlStaticBackgroundDisable" for this by the looks of it. I have tried to replicate it, but it just doesn't work.   Dialog file: https://pastebin.com/3niigADA Creation of the dialog: private _mainDisplay = [] call BIS_fnc_displayMission; private _display = _mainDisplay createDisplay "SR_RscDisplayTest"; Any help would be much appreciated. Thanks in advance.
    • I figured out where the AK mags are coming from.   Checked their website for a compat file between RHS, ACE, and CUP, and it turns out they were supposed to have future guns such as custom aks and even an F2000(Vanilla doesn't do it justice).   I'll probably check back next year to see if there's anything new though.
    • Escort nainital provide escort service is a gret service in nainital Escorts in nainital High profaile escort service in nainital   
×