Jump to content

Search the Community

Showing results for tags 'mapsingleclick'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Arma Reforger
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter
  • DayZ Italia's Lista Server
  • DayZ Italia's Forum Generale

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 1 result

  1. Hello! I have been attempting to create 3 scripts with 5 main functions in MP editor. I am brand new to scripting (only 3-4 days), and have gotten very close to my goal. However, I am at my last legs for the near future. I need help chiefly with getting the positional coordinates from the map click into a marker used by a mortar section for a fire mission and/or relocation. Initially using the action menu: Set Fire Mission -Uses mouse on map to set a marker labelled "Fire Mission". Relocate Mortar Section -Uses mouse on map to set a marker labelled "New Position" Unpack/Pack Mortars -Uses if, then, else to minimise action menu options Commence Fire Mission -Uses Fire mission marker. Initially limited to 2 round salvos but as I learned more and went on i intend to make a menu with different sheafs, etc. Script 1: Function 1: Use the map to create a marker labelled "Fire Mission" with hints. To be used for the fire mission. Script 2: Function 2: Fire on the position. Script 3: Function 3: Mortar section gets in a Stryker, travels to a selected point "Relocation" on the map. Function 4: Unpacks their mortars and is ready for tasking Function 5: Packs mortars and awaits a relocation tasking. So far I have achieved function 2. 3 I can get partially there with a moving marker on the Stryker and scripted orders to mount up. 4 and 5 I have not properly attempted yet due to function 1's stone wall. I don't know much so any help would be appreciated. My scripts so far: Function 1: createfiremission.sqf: (Shortended version) openmap true, hint "Mark Fire Mission"; _pos = [] _firemissionlocation = _pos // as far as i figured this cleared previous marks addMissionEventHandler ["MapSingleClick", {params ["_units", "_pos", "_alt", "_shift"]}]; //don't really know what this is doing tbh, I figured it was grabbing the data and If I used "_result = _array select 1;" it would select the positional data. _firemissionlocation = "createMarker [firemissionlocation, _pos]"; //where things appear to go wrong. No matter what combination I can not get this to work. I did at one point momentarily have it working (no errors) but the marker would not appear. _firemissionlocation setMarkerType "hd_destroy"; _firemissionlocation setMarkerText "Fire Mission"; Function 2: I can't find my scripting for this at the moment. Function 3: player addAction ["Mortar Reposition", { //contains my initial attempt at getting marker pos params ["","_pos","",""]; openmap [true,false]; ["click", "onMapSingleClick", { titleText["Select Map Position", "PLAIN"]; _wp1 = badger addWaypoint [_pos [getmarkerPos mother_1],0]; _wp1 setWaypointType "getin"; deleteMarker "customObjective"; _mk = createMarker ["customObjective",_pos]; _mk setMarkerText "Go here"; _mk setMarkertype "hd_objective"; openmap [false,false]; onMapSingleClick ""; false }] call BIS_fnc_addStackedEventHandler; }]; Function 4: private _wp1 = _group addWaypoint [_pos getmarkerPos "MortarPit", 10]; //Not at all mine but I was to attempt to adapt it once i figured out the markers. _wp1 setWaypointType "MOVE"; _wp1 setWaypointStatements ["true", " group this allowFleeing 0; [group this, 'StaticWeaponUnpacked', { _this spawn { sleep 7; [_this select 0] call BIS_fnc_packStaticWeapon; }; }] call BIS_fnc_addScriptedEventHandler; [ this, this, this getPos [1000, random 360], this getPos [10, 0] ] call BIS_fnc_unpackStaticWeapon; Funtion 5: Nothing done yet.
×