Jump to content

soulaco

Member
  • Content Count

    10
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About soulaco

  • Rank
    Private
  1. It's not the same syntax. onDoubleClick is: map onDoubleClick command what do I put in for 'map' if I want it to respond to double-clicking on the in-game map?
  2. soulaco

    Map question

    Oh. Ok. I see what you are saying. So, in the action for onDoubleClick, I can create a marker and then I can access that marker via script. One question though -- will the marker that's created show up on the map? I would think it should, but I will need to test that. Does anyone have any examples of how to use onDoubleClick? I have had trouble getting it working.
  3. Does anyone know how to use onDoubleClick for the map? I am having trouble getting this event working. Thanks in advance!
  4. soulaco

    setHit

    Thanks! I got it working. Cool!
  5. soulaco

    Map question

    Are there any examples for onDoubleClick? I have trouble getting it working properly. But what if I want to mark some places on the map and then later on in the mission be able to get those marked areas. So, for instance, if I have 1 recon squad that marks a certain area for attack and then a second AI controlled squad needs to go to the areas on the map that are marked how could that be done? Granted, I could create a publicVariable array and store the locations. But is there any way to get the marked areas directly from the in-game map without having to go through the trouble of setting up an array in the init.sqf file and then filling it and searching it, etc., etc.?
  6. soulaco

    setHit

    The problem I am having is that for some reason the body part is not being returned. I get the unit who took the damage, the unit who damaged him, the type of ammo that was used and the amount of damage sustained. However, the second parameter should say the body part but all I get returned, regardless of where I shoot the guy is "". Why is the body part not being returned for me?
  7. Is there any way to return what part of the body of a unit or vehicle is hit? I know you can set where the damage is registered on the unit or vehicle, but is there any way to get the damage done to that area? For instance, let's say I wanted to create a zombie mission. I want to disable the unit from taking damage (unit allowDamage false) until the unit is shot in the head. How can I find out if the unit is shot in the head?
  8. soulaco

    Map question

    I know about onMapSingleClick -- but that's not what I am asking. If I open the map during the game and place an icon on the map that say "Here" for my teammates to see, is there any way I can get that position that is labeled from a script?
  9. When I double click the map and type in some text an 'X' with a circle around it is displayed on the map. Is there any way to get this location from a script?
  10. I have a bunch of claymores I set up in the trees in my mission and a trigger that displays a title text to blow the claymores when the enemy is present. The Trigger that will set off the claymores is set to radio Alpha. However, if no active player is able to set off the claymores, I want the claymores to be detonated on their own. I set up a second trigger that waits 15 seconds and will set off the claymores if the radio command has not been manually activated. However, there's a problem... If the second trigger calls the claymore script directly, then the units will still have the radio message displayed in their radios. So, is there a way to remove the radio message from the radio via a script? or If there a way to activate the radio command from a script?
×