Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About LOzan

  • Rank
    Lance Corporal

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Do you need the units to actually run over and get in the transport, or could you use moveInCargo to circumvent the issue entirely?
  2. I'm still working on the other scripts needed to get the dialong functional but I will let you know when I start it up. One question though, in line 12 why do you call compile all of that?
  3. You just called in a tactical carpet bombing where I was running in with a sharpened spoon. Thanks so much!
  4. Hello all, I got some fantastic help for my last dialog question so I figured I'd ask another that I have. I have a dialog with several Listboxes for assembling squads of units and I am using drag and drop to simplify the deal so there aren't tons of buttons for moving troops around. The problem is that I want to impose a limit on how big a squad can get to force the player to make compromises in their squad lineups. So far, I have no problem seeing how the canDrag = 1 line in the dialogs.hpp works but as far as I can tell it can't be disabled through a script. Is there any way to disable the dragging operation when the list has a certain number of units in it? Thanks, LOzan EDIT: Another possibility I just thought of but would still be outside my current GUI skill level, I could cap the list length by using the OnLBDrag and OnLBDrop event handlers and check the list's length; if it is already at maximum capacity, I could return the dragged entry to its original position. Actually I realized that this would have to be the way to do it because disabling the drag operation for the entire listbox would mean entries can't be dragged out of it to open up space. Any thoughts?
  5. Try looking through this. This wiki page explains how to take multiple missions and combine them into a single campaign to be binarized into a PBO. https://community.bistudio.com/wiki/Campaign_Description.ext
  6. That's what I thought, thanks for confirming. Thank all of you for all your help, I've got a pretty snazzy dialog set up now. I'll probably release it with a few other mechanics from my in-development campaign when there's enough to put into a Showcase kind of thing if there's any interest.
  7. That all makes sense to me, I've got it working on that level. Thanks again for all your help. On a somewhat related note, I'm kicking around the idea of adding a progress bar to the dialog. There are plenty of examples of the defines.hpp and dialogs.hpp entries, but not much on how to make it in the GUI Editor. Advice? Right now I'm thinking of dropping an RscText control with the desired position and dimensions of the progress bar and changing it in the header files, but do you know of any more direct methods?
  8. @Lecks, Are you talking about in the defines.hpp or in dialogs.hpp? The base classes are all called RscListbox, RscText, etc. in defines.hpp and #include - ed in the description.ext, but every control in dialogs.hpp has its own class name. Is that what you mean, or is there anything else to consider? This is all part of a campaign I have been and will be working on for a while.
  9. @Dr Death JM, Take your time, I'm taking a few months off of college for illness so I'll need something to do to keep myself busy. I'm actually working on a platoon manager (three squads and a "reserve" of inactive troops) but I imagine the core principles are much the same. I'm sure you know much more on this than I do so any help would be fantastic. If you'd be willing to help me out I can post up a screenshot of what I'm working with from the GUI Editor and have a few specific questions before too long. Thanks!
  10. Thanks so much for your help, I've got this dialog working now. Sorry for my rampant amateurishness!
  11. Thank you so much! You all have no idea how helpful this is. A few questions, Fight9: 1) What do I have to place in the defines.hpp to define the base class for RscListbox? I have a template from SpencerArma but is there anything specific I need? 2) For lbAdd and lbSetData, which is displayed in the listbox? 3) Can lbSetData be used to store an object such as a unit and its associated namespace, or only variables? I'd test these things myself but my apartment is in mid-move and my gaming rig is packed up. Regardless, this is all going a long way toward helping me figure out this rather nebulous side of ARMA editing. Thank you for your help. EDIT: I also don't quite get why we need the event handler and test_dialog_variable. I see it in the scripts line with the displayCtrl command, but I'm not getting why we need to go through that variable when, as it appears to my uneducated eye, we could just go directly for the listbox control. What's the reasoning behind the variable?
  12. What about things like idc, access, and all that kind of stuff in the defines.hpp and dialogs.hpp files? I understand that some of it will be relevant but nothing really explains what it does or how to choose it to the uninitiated. I also see references to the "listbox or combobox with id idc of topmost user dialog" and have no idea what that means, any pointers?
  13. Maybe you can help me then. I'm trying to make a squad/platoon management dialog where the player can select a unit, I'm thinking from a listbox, and then use different buttons to perform actions with that unit through a script. How do I take the player's selection from RscListbox and bring it into the script? There will be multiple lists and buttons in the dialog.
  14. I've been over this video as well as Iceman77's tutorial, but neither includes everything I need. Like neither tell me how to get the player's selection from RscListbox to a script, or anything on RscListbox for that matter.
  15. Hello all, I'm working on a scenario involving several dialogs and I've hit the infamous poor documentation roadblock. I've found several EXCELLENT tutorials for the basics and simple dialogs but they tend to end around using RscButton to run a script and contain nothing further from there while advanced guides on the wiki are mostly HUD elements and necessary parameters for class definitions; there's nothing covering the middle. Specifically, I'm trying to create a dialog allowing the player to modify the compositions of several squads from a list of units; the squad compositions are stored in arrays and displayed in RscListbox and can be modified through the dialog from there. From the guides I've found, I know how to place the dialog controls and Ctrl-Shift-S to copy them into my dialogs.hpp but I have no idea what to do from there. Can anyone point me at some guides or tutorials that may be able to help me?