Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

Schatten

Member
  • Content Count

    816
  • Joined

  • Last visited

  • Medals

Everything posted by Schatten

  1. https://community.bistudio.com/wiki/ctrlMapDir
  2. Learn carefully, especially syntax 6: https://community.bistudio.com/wiki/select
  3. You can save scores when a player disconnects: https://community.bistudio.com/wiki/Arma_3:_Mission_Event_Handlers#HandleDisconnect
  4. OK, this article explains that: https://community.bistudio.com/wiki/Event_Scripts
  5. You can simplify: _this execVM "objectiveControl.sqf"; I think this forum is OK for such questions. You can also join Arma Discord.
  6. It's written just before the code snippet.
  7. Errors because you pass an empty array to the script.
  8. Read carefully: https://community.bistudio.com/wiki/params
  9. [_hup, ["Surrender", _hup]] remoteExec ["action", _hup];
  10. Publish initialization code of hullaszamlalo var and the full error message.
  11. Schatten

    Spawning items into container

    I'm not sure that _loot var contains correct class names, so check them. There is also for loop that is more suitable for your case.
  12. Seems I've already given you some options on Discord. Have you tried them?
  13. Could you share the option you found please?
  14. Hi! I wrote a function to get listbox item index by coordinates. It works fine if listbox height is a multiple of row height, otherwise a small error appears, which is especially noticeable at the end of listbox. Could anyone help solve this issue?
  15. It works! I added your line just after _y = _y - _controlY; Thanks, @POLPOX!
  16. Unfortunately, this didn't help: #define LISTBOX_ITEM_H 1.75 * 4.32 * pixelGrid * pixelScale / (getResolution select 3) ... rowHeight = LISTBOX_ITEM_H; sizeEx = __EVAL(format ["%1 - (%1 mod pixelH)", LISTBOX_ITEM_H]);
  17. So, you suggest changing sizeEx in my listbox config, right? If so, can I fix this gap in my function? I'm asking because I would like my dialogs to be as vanilla as possible, so I wouldn't like to change sizeEx. I also wouldn't like sizes of listboxes and, accordingly, the dialog to change when switching between tabs.
  18. https://community.bistudio.com/wiki/BIS_fnc_setIdentity
  19. I would recommend to read triggers related articles by @killzone_kid, specifically this one: http://killzonekid.com/arma-scripting-tutorials-triggers-v3/
  20. Too complicated, @pierremgi. These settings should be enough: Activation: Type: none Activation: none Repeatable: checked Server only: unchecked Condition: player inArea thisTrigger On activation: hint "You've entered!"; On deactivation: hint "You've left!";
  21. Make local trigger with this activation: player inArea thisTrigger
  22. Inside nested forEach, at the same scope.
  23. Since _KnowledgeArray is returned by targetKnowledge, its elements must obviously be accessed after this array is returned.
×