MMAXIMUSS
Member-
Content Count
7 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout MMAXIMUSS
-
Rank
Rookie
-
[Release] GOM - Aircraft Loadout V1.35
MMAXIMUSS replied to Grumpy Old Man's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Does somebody have a video how this is implemented? I made my custom DUWS mission but I fail to understand this beautiful script.. It's just me ofc -
Spawning with onmapsingleclick
MMAXIMUSS replied to MMAXIMUSS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey again :) To be sure, is this the way? (case 36) Much respect for coding pro's... -
Spawning with onmapsingleclick
MMAXIMUSS replied to MMAXIMUSS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you all for your help! I'm away from home during the week, but I will test it all on Friday. And show you a clip ;). Thanks again for the persistence! -
Spawning with onmapsingleclick
MMAXIMUSS replied to MMAXIMUSS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If that is what you would like to do, I won't judge.... I tried the code but no luck. Nothing happens, map doesn't even open. I'm trying for over 3 weeks now, maybe I should give up. Thanks for the support though! -
Spawning with onmapsingleclick
MMAXIMUSS replied to MMAXIMUSS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hahahaha, true... Wouldn't it be nice if we could code our lives ;-). Thanks a ton! I will test this in some hours. -
Spawning with onmapsingleclick
MMAXIMUSS replied to MMAXIMUSS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Wow thanks! So case 36: { // minigun boat (Armed) if (commandpointsblu1 >= 5) then { hint "Vehicle ready ! Click on the map to deliver it!"; commandpointsblu1 = commandpointsblu1 - 5; ctrlSetText [1000, format["%1",commandpointsblu1]]; closeDialog; // Closes your dialog sleep 0.01; // Needs time to close openMap true; // Opens map _mapEH = addMissionEventHandler ["MapSingleClick", {_pos = _this select 1; vehic = "B_Boat_Armed_01_minigun_F" createVehicle _pos; openMap false;}]; waitUntil {!visibleMap}; // Wait until map is closed, either by ESC/M or map click removeMissionEventHandler ["MapSingleClick",_mapEH]; // removes eventhandler so it doesn´t stack and spawn more than one vehicle}; }; } else { hint "Not enough command points"; }; }; Would solve all my "misery"? -
How are you doing? Fine I hope. I'm trying to have my vehicles spawned at a selected location. I can't use openMap because the menu -already opened- blocks it, I think. So it would be cool that when I open my map after closing the menu and click on a position, the vehicle will spawn there. Any idea? case 36: { // minigun boat (Armed) if (commandpointsblu1 >= 5) then { hint "Vehicle ready ! Exit and click on the map to deliver it!"; commandpointsblu1 = commandpointsblu1 - 5; ctrlSetText [1000, format["%1",commandpointsblu1]]; onMapSingleClick { vehic = "B_Boat_Armed_01_minigun_F" createVehicle _pos; }; }; } else { hint "Not enough command points"; }; }; Thanks!