HazJ

Member
  • Content count

    689
  • Joined

  • Last visited

  • Medals

Community Reputation

11 Good

About HazJ

  • Rank
    Master Sergeant

core_pfieldgroups_3

  • Interests
    Gaming & Coding

Contact Methods

  • Steam url id
    dirtyhaz12345
  • Origin
    dirtyhaz12345
  1. Bump. I've seen this work in a Takistan mission, even with the code pretty much the same I still get this issue. The only thing different is, I use the ctrlCreate command to create the map control. I remember I have done this before but on Altis, using ctrlCreate, I looked at that code I did but doesn't work. I am starting to think it's an issue because of the size of the control? I am using safeZone in both codes but the size is only thing different. Does anyone know a fix or work around for this? EDIT: SOLVED! I just resolved the issue. I decided to look at the code in working mission and I guess I overlooked a command. I fixed this by using getPosWorld rather than getPos, position or getMarkerPos. It sucks a little as I'd rather use a marker but this will do. Working mission was Domination by Xeno, so thanks to him! :)
  2. Hi all, I am looking for a command or a way to colour fill the inside of polygon created with the drawPolygon command. :) https://community.bistudio.com/wiki/drawPolygon
  3. When I use this, there seems to be a huge offset resulting in the map not even showing the player. I am using a custom map control created with ctrlCreate. When I set the zoom to 0, it works fine but it's zoomed all the way in. Do I need to use ctrlMapScale some how? _map ctrlMapAnimAdd [0, 0.4, getPosATL player]; ctrlMapAnimCommit _map;
  4. Hi, I am using to ctrlCreate to create a controls group (RscControlsGroup) but I'm having an issue when I position a control inside it all the way to the right side. It adds a scrollbar and positions the control all the way right but past the whole width... Any ideas? 0 (all the way left) seems to be fine and working but when I set a control position to 1 it does the above issue. Here is how I create the RscControlsGroup: _display = findDisplay 13579; _purchaseContainer = _display ctrlCreate ["RscControlsGroup", 700]; _purchaseContainer ctrlSetPosition [ (0.075 * safezoneW + safezoneX), (0.24 * safezoneH + safezoneY), (0.275 * safezoneW), (0.6 * safezoneH) ]; _purchaseContainer ctrlCommit 0;
  5. Why even post if you have nothing to contribute...?
  6. Is there a way to show the arrrows left and right on the ListNBox via command? I checked the Wiki but couldn't find anything. Note: I am using ctrlCreate with RscListNBox.
  7. Thank you again, Larrow! Another question... When I first open the Inventory menu, If I look closely then I notice it moves and adds the additional elements (that I made). It's not a big issue as it happens really fast but if it can be prevented then I would like to do that. When I use .hpp files I can set the default x/y/w/h values to off-screen and then set the correct ones with ctrlSetPosition which also allows me to do transitions for them but as this is all done with ctrlCreate and the .hpp is in the game files, I'm not sure how.
  8. Hi again, I added this bit of code to move everything over to the left but I would like to make it perfectly center if possible. _inventoryDisplay = findDisplay 602; { _position = ctrlPosition _x; _position set [0, ((ctrlPosition _x select 0) - 0.25)]; _x ctrlSetPosition _position; _x ctrlCommit 0; } forEach (allControls _inventoryDisplay); What should 0.25 be? I know the whole width of screen so do I just / 2 or is there more to it? I guess not since it's moving from current position.
  9. That makes sense! Thank you, Larrow... You are a GOD.
  10. Yeah, I want to create one on the other side of the screen. The same distance from the center Inventory container if possible.
  11. Hi all, I am trying to reverse a control's X axis of an A3 display, I am having trouble understanding this specific way of safeZone. I know how to move it manually but doing it this way, it isn't exactly perfect. :P _test ctrlSetPosition [(1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2)) / 2)), (1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2)) / 2)), (12 * (((safezoneW / safezoneH) min 1.2) / 40)), (23 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25))]; http://s26.postimg.org/dwtoug8qf/20170320220747_1.jpg
  12. Sorry to ask again but, is the indentation tab size feature still going to be added at some point? I am not asking for an ETA! (:
  13. Very useful, thanks for sharing. Good work!