Jump to content

Ilias48rus

Member
  • Content Count

    239
  • Joined

  • Last visited

  • Medals

Everything posted by Ilias48rus

  1. Ilias48rus

    Get position after isnull

    options i have now is: --- loop getting positions of objects from all variables (of the kind) from missionnamespace and if object in the variable becoming null execute.. (to big position mistake), -- foreach [ [ |i|,|o|,|p|,|st| ],[ |i|,|o|,|p|,|st| ] ] ; (to difficult to change object), - create object, hide, disable damage and attach to object which's position need to get, check for 'attached' (-if objnull get position, delete and execute) (not sure how heavy it will be for server).
  2. Ilias48rus

    Get position after isnull

    jshock I know hat i could add handling before they going null on the ways, i'm do not writing it because (pretty evidently) its not an option, the system should handle it unconnected to ways it becoming null.
  3. Ilias48rus

    Get position after isnull

    I am always thankful if someone helping with something, here i already 2-3 times explained all i could, i just don't even know how else could i explain it
  4. jshock austin_medic already tired of it, just here is example: thats how it happening normally - (deleting item from object's inventory) ONLINE Ilias Мл.Ñержант Пользователи 115 Ñообщений 0 баллов Ð¿Ñ€ÐµÐ´ÑƒÐ¿Ñ€ÐµÐ¶Ð´ÐµÐ½Ð¸Ñ ÐžÑ‚Ð¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¾ 28 минут назад Привет, heelp please Сколь трудной оказалаÑÑŒ задача, как Ñто Ñделать? 0 Skkype: Ilias48rus . Ответить Цитата Ð˜Ð¼Ñ Ð¸Ð»Ð¸ Цитата Изменить Жалоба #2 ONLINE vlad333000 Капитан Пользователи 1821 Ñообщений Откуда:КоÑтрома Отправлено 19 минут назад Удалить конкретный предмет из Ð¸Ð½Ð²ÐµÐ½Ñ‚Ð°Ñ€Ñ Ð¾Ð±ÑŠÐµÐºÑ‚Ð° (Ðе юнита) - разработчики не догадалиÑÑŒ ещё до Ñтого. ПридётÑÑ Ð·Ð°Ð¿Ð¾Ð¼Ð¸Ð½Ð°Ñ‚ÑŒ вÑе предметы, их вÑе удалÑÑ‚ÑŒ и заново добавить, но уже без нужного пиедмта. Можно ещё поигратьÑÑ Ñ everyContainer, но Ñ Ð½Ðµ пробывал Сообщение отредактировал vlad333000: 19 минут назад 0 Ðаша ÐÑ€Ð¼Ð¸Ñ [CCCP] / [~HA~]SVlad Ð’Ð¾Ð¿Ñ€Ð¾Ñ Ð ÐµÑˆÑ‘Ð½ Ответить Цитата Ð˜Ð¼Ñ Ð¸Ð»Ð¸ Цитата Жалоба #3 ONLINE Ilias Мл.Ñержант Пользователи 115 Ñообщений 0 баллов Ð¿Ñ€ÐµÐ´ÑƒÐ¿Ñ€ÐµÐ¶Ð´ÐµÐ½Ð¸Ñ ÐžÑ‚Ð¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¾ 14 минут назад vlad333000 Ñказал(а) 28 Мар 2016 - 12:28: Правильно и проÑто, ÑпаÑибо, Ð¼ÐµÐ½Ñ Ð²Ð¾Ð»Ð½ÑƒÐµÑ‚ в таком Ñлучае например лежащее в Ñщике оружие Ñ attachments , количеÑтво патронов в магазинах. (на b.i. forum Ð¼ÐµÐ½Ñ 6 поÑтами учили иÑпользовать поиÑк на wiki) 0 Skkype: Ilias48rus . Ð’Ð¾Ð¿Ñ€Ð¾Ñ Ð ÐµÑˆÑ‘Ð½ Ответить Цитата Ð˜Ð¼Ñ Ð¸Ð»Ð¸ Цитата Изменить Жалоба #4 ONLINE vlad333000 Капитан Пользователи 1821 Ñообщений Откуда:КоÑтрома Отправлено 8 минут назад Ðу everyContainer как-то должна возвращать вÑе контейнер - рюкзаки, Ñлоты модулей на орудии, инвентарь униформ... еÑли мне памÑÑ‚ÑŒ не изменÑет 0 Ðаша ÐÑ€Ð¼Ð¸Ñ [CCCP] / [~HA~]SVlad Ð’Ð¾Ð¿Ñ€Ð¾Ñ Ð ÐµÑˆÑ‘Ð½ Ответить Цитата Ð˜Ð¼Ñ Ð¸Ð»Ð¸ Цитата ( Hi, heelp please, such difficult task how to do it? delete some object from inventroy of object (not unit) - developers didn't got it yet, will need to store all items, delete all and add whithout that one, can play with everycontainer (with link), but i didn't tryed. Right and easy, thank you, in the case i worrying about for example weapon's attachments, number of bullets in magazines. (on b.i. forum by 6 (5) posts teached me how use search on wiki) So everycontainer should return all containers - backpacks, slots for attachments, uniforms's inventory, if i remember right )
  5. How to check presents of item in object's (not unit's) inventory and delete it?
  6. Ilias48rus

    Get position after isnull

    it doesn't null at call and i said what i need to do
  7. Ilias48rus

    Get position after isnull

    Did i said even once what i need the variables outside of that? |object| - mean some object, what ever object, d.. it will not looks like that, the code for show number of the variables which will need to work with, how they looks like and will be saved
  8. you aren't "lackeys" i'm explaining why my questions is like that i'm writing full systems on move at same time creating in mind next systems and have some bigger work in the real word, so getting questions which can looks easy from outside ,| require.thinking.
  9. learning scripting from 0 in 3 month (now + working with configs and GUI in 6 days) and creating biggest complex alive system possible justify to ask at community help with some small ,| on move questions to cut time losing and unload some small things to work with more difficult.
  10. just better remember for future what someone who asking question possible know ,| understand more then you think, so if want to help better to answer the question (will prevent ) like that).
  11. (to store all items, remove all items,..) of cource i had the idea, i knew all of it before creating the theme, here i asked how to remove 1 item, should write what its only way austin_medic removeitem do not working with objects (only units), search on wiki is fine and not forcing you to search manually for highlights in list, god damn i knew what |ctrl , f| usually doing, and yoiu made 5 posts tellig me what i dont )))) know how to search on wiki be ))) cause i couldn't find command )) which doesn't exist )))))))))
  12. ... , i saw, of cource saw, readed avery symvol on the page, the command removes all items, i need only 1
  13. You too, just look from side how the messages looks like, so find it if you can
  14. .. , so you can find it ? please proof what i realy don't know how to use wiki, just send link to the command.
  15. Holy crab, i searched for it ~40 times already I tryed all words combinations is possible with the meaning in atom, wiki, debugconsole
  16. Ilias48rus

    Get position after isnull

    Grumpy Old Man for"_cn"from 0 to 5000 do{ _number=0; _s={ _nnumber = floor random 1000000; if(typename(missionNamespace getVariable (str(_number)+"_pda"))=="array")then{ //str(_number)+"_pda"==(e. "1544_pda") , typename working with unexisting variables (missing the line); call _s; //will be if the variable exist (repeting _s) }; }; call _s; missionNamespace setVariable [str(_number)+"_pda",[ |object|, getpos |object|, false ],true]; }; if it easier ?
  17. Ilias48rus

    Get position after isnull

    The objects will move, i need their position at time of begining null (half of objects in game, can be delited (by 3-4 ways))
  18. Please write how it would looks like for remove "firstaidkit" (i couldn't do it) and where would i can find it ?
  19. Ilias48rus

    Get position after isnull

    What kind of "sence" do you to hell need? I gave all information is needeble (sorry for the tone, just realy tired of the rediculous posts)
  20. Ilias48rus

    Get position after isnull

    for"_cn"from 0 to 5000 do{ _n=0; _s={ _n=floor random 1000000; if(typename(missionNamespace getVariable (str(_n)+"_pda"))=="array")then{ call _s; }; }; call _s; missionNamespace setVariable [str(_n)+"_pda",[ |object|, getpos |object|, false ],true]; }; (imagine what all objects are different) need: if any object are becoming null get position where it was in the moment and execute t.sqf .
  21. getItemCargo , thanks, just searched for itemscargo and similar, and how to remove some item ?
  22. Ilias48rus

    Working on GUII, asking help.

    I guies it doesn't working with rscmap
  23. https://youtu.be/peWWPO3zZB8 Creating GUI . Everyone who whenever wanted to create a GUI - thats how to do it: open GUI builder in game press | ctrl , s | choose "parent classes" , (write any name), |ok|, | ctrl , v | in any text document /|\ base (predefined) classes and "define" - variables (technically don't need, but maybe GUI builder will use them) (here is all classes which GUI editor will use, but not all of them, to get full list open |_|:|_|\Arma 3\Addons\ui_f.pbo\config.bin with arma unbin tool and watch after 102 line), include it in your mod's config.cpp or description.ext, if you are working with dexcription.ext you'll need to insert there some variables defined in game (i saw only needeble "safezone" and "gui_grid", but hope the two lines will be all you'll ever need): upper then your GUI s: #include "\A3\ui_f\hpp\defineCommonGrids.inc" #include "\A3\ui_f\hpp\defineCommonColors.inc" (if working with mod the definitions will be assessable) create your GUI: class |name| { idd = -1; // set to -1, if don't require a unique ID movingEnable = 1; // the dialog can be moved with the mouse enableSimulation = 0; // freeze the game controlsBackground[] = { }; // not necessary objects[] = { }; // not necessary controls[] = { }; // our elements }; next: use GUI builder (use safezone "position type" (with "gui grid" something wrong), save as config) and insert: class |name| { idd = -1; // set to -1, if don't require a unique ID movingEnable = 1; // the dialog can be moved with the mouse enableSimulation = 0; // freeze the game controlsBackground[] = { }; // not necessary objects[] = { }; // not necessary class controls { class |_1_|: |_| { idc = |_|; text = "|_|"; x = |_| * safezoneW + safezoneX; y = |_| * safezoneH + safezoneY; w = |_| * safezoneW; h = |_| * safezoneH; }; class |_2_|: |_| { idc = |_|; text = "|_|"; x = |_| * safezoneW + safezoneX; y = |_| * safezoneH + safezoneY; w = |_| * safezoneW; h = |_| * safezoneH; }; }; // our elements }; or class |name| { idd = -1; // set to -1, if don't require a unique ID movingEnable = 1; // the dialog can be moved with the mouse enableSimulation = 0; // freeze the game controlsBackground[] = { }; // not necessary objects[] = { }; // not necessary class |_1_|: |_| { idc = |_|; text = "|_|"; x = |_| * safezoneW + safezoneX; y = |_| * safezoneH + safezoneY; w = |_| * safezoneW; h = |_| * safezoneH; }; class |_2_|: |_| { idc = |_|; text = "|_|"; x = |_| * safezoneW + safezoneX; y = |_| * safezoneH + safezoneY; w = |_| * safezoneW; h = |_| * safezoneH; }; controls[]={|_1_|,|_2_|}; // our elements }; (creating elements), (additional information: RscMap base class: can't be created under some other element by standard way (lowest in controls is uppest) you'll need to use controlsbackground class) for first test can use the command: createDialog "|name|"; For GUI is scripting commands too. for use image in your GUI: make, get, .. any image, using some transparent background supporting editor (photoshop are fine) expand the background to get the picture's resolution == 2^p (512x512 , 1024x2048..), can use "Imagetopaa" in b.i.'s tools to convert the picture to .paa, make some element which supporting images (RscPicture,..), write in "text" patch to the picture - if picture in mission's folder - from the folder without \ at start (t.paa , images\t.paa) , if in mod folder - (\|modname|\..).
  24. Ilias48rus

    GUI creating from 0 tutorial.

    The "basic classes" from GUI editor have only classes which will be used by the editor, looking for file with all of them in game's directory |(did how could)
  25. RscMapControl to GUI editor, ability to load , insert as classes "controls" in GUI editor. I already told about, now found kind of how it will looks like in the games time, request is - SUP Upgraded AAV-7A1 .
×