Jump to content

aduke823

Member
  • Content Count

    82
  • Joined

  • Last visited

  • Medals

Everything posted by aduke823

  1. OK, to clear things up........ The first script is executed via an eventhandler in the config, like so.... This is the script that is executed......... Here is that next script....... I know, both of those scripts do not have much to them, I am going to add some server side/client side stuff later, right now I just need the basic functions to work before I make it MP friendly. Here is the defines.hpp file, which is #included in the config.... Here is dialogs.hpp, also #included in the config....... See this bit here? onMouseButtonDown = "[""onMapClick"", _this] execVM ""\ad_helos_det7\Scripts\add_waypoints.sqf"""; Ya, that is where the problem script is... I know, clear as mud right? The "select orgy" that you are referring to is there to calculate the position of the click within the dialog. I am not concerned with that at the moment, what I am concerned with is these markers being placed at every click. -AD
  2. So where do you put this?.......... { (_this displayCtrl _x) ctrlShow false; } forEach [11, 55, 741];
  3. So, I was able to interact with the map after removing these 2 entries from dialogs.hpp...... movingEnable = true; moving = 1; That means I won't be able to move my MFD around the screen but oh well. Now my next issue is that I would like to be able to click on the map, and set waypoints in succession for my group, first click is WP1, second click is WP2 and so on and so forth. This is the script that I am using to add waypoints........ That is not working though, nothing is happening when I click on my map dialog. The hpp files in my first post have been edited to reflect the current version. -AD EDIT: I can confirm that the script that is supposed to add the waypoints is running, I inserted a hint at the beginning, and the hint shows up when I click on the map, no waypoints are added though.
  4. Hi, So I have this dialog that I created, it's purpose is to bring up an interactive MFD with the current world's map displayed, then I would like to be able to set multiple waypoints for myself and my aircrew on the map. It's basically a tool to set up a flight path on the fly. So far I have my image and the map being displayed just fine...... The only problem is that I am unable to interact with the map (IE: zoom in and out and scroll from side to side with the mouse, like the standard map) Here are all of the relevant files........ defines.hpp dialogs.hpp Any help that the community can give me is much appreciated... -AD EDIT: The above problem has been solved, I just needed to disable the ability to move the dialog around the screen and then I could interact with the map. My next issue is being able to Click within my displayed map and set waypoints for myself. < I REALLY need help with this.
  5. Can anyone tell me how to do this at the addon level and not the mission level? In a config rather than a description.
×