frosties
Member-
Content Count
312 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by frosties
-
adding addAction if player has item (bribe function)
frosties posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I have an addAction where the player can bribe a local to get information.. But i would like that option to be availible only to those who have $$ in their pockets. How can i write the code so that once the player only get the "bribe" option once he has some cash in his pocket? Have tried another script i has, but that gives the option to bribe everywhere, not just when standing face to face to the correct civilian. -
Hi, a while back, around 2 weeks i switched to windowed mode to improve my editing speed while switching between game/windows. Now when i tried to switch back i cant get the graphics to work with me. They work fine in windowed mode but keeps getting all blurry and buzzing in fullscreen. Have tried everything i come to think about and now im looking around for someone who have experienced the same or know of a solution.. YES i have searched different keywords but no joy. Appreciate any help, Thanks!
-
adding addAction if player has item (bribe function)
frosties replied to frosties's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
@Muzzleflash: Thank you, that worked like a charm!! @Demonized: thank you for your effort as well, but didnt get it to work.. :( -
adding addAction if player has item (bribe function)
frosties replied to frosties's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
How does that script check if the player has the money or not? Ive tried it but i cant get the Bribe option to appear at all, with or without money. -
Hello, I have a script that tries to add a loadout when each player starts. It works with the weapons, and magazines and radios and such as well as the rucksack. However the items IN the rucksack isnt getting loaded. The ruck only has the items that it has from scratch, not the ones ive added with my script. The script in my loadout file about the stuff in the ruck is like this: [_unit, "ACE_Bandage",14] call ACE_fnc_PackMagazine; It works in preview, but not on a dedicated server... Can anybody help me get this straight?
-
is there any Leatherman/Multitool?
frosties posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, Working on adding a IED script to my mission and was wondering if there is any small tools availible in the game / addon? The bolt cutter isnt small enough in my eyes. My though is that something small, like a multitool must be in the players inventory in order to be able to disarm IEDs. Any ideas? -
Enemy dropping ID when killed?
frosties posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, i have an idea that the enemy drops some kind of ID / Dogtag when it dies. Havent got the ACE dogtag to work yet.. Have been looking on this: soldierOne action ["dropWeapon", soldierOne, "DogTag"] How can i add the addaction to the object being dropped so that it can be picked up by a player to verify the ID? EDIT: If the ace backpack is being taken, how can i connect that with a trigger? Like when a target enemy gets killed, and someone takes his dogtag to verify it? Are they all generic or can you give the dogtag a name? -
is there any Leatherman/Multitool?
frosties replied to frosties's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks guys, i will give this a try. Regarding the minesweeper, im trying to get a deasrming kit up and running, not finding buried mines :P Can i make this an array and put several things? Have tried this in my INIT.sqf but its not working: private ["_ied_class_array","_player_class"]; _ied_class_array = ["m_Seal2h_ACE"]; if (_player_class in _ied_class_array) then { nul0 = [player,50,10,00,01] execVM "enemy\modules\SR5_IEDdetect\IEDdetect_detector.sqf"; // add here }; -
is there any Leatherman/Multitool?
frosties replied to frosties's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Okey, will try that. Is there any addon you can suggest that brings some other equipment that might be useful? EDIT: What im trying to do is add the ability to find and desarm IEDs with the SR5 IEDdetect script. Usually i must add this to the INIT of a player: nul0 = [this,50,10,00,01] execVM "enemy\modules\SR5_IEDdetect\IEDdetect_detector.sqf" But i would like it so that only player who is carrying a certain item would be able to find and disable IEDs. Preferably a tool of somekind, but havent found any. Trying to use this in INIT.sqf to check if a player is caryring the item: [player hasWeapon "Moscow_Bombing_File"] [nul0 = [this,50,10,00,01] execVM "enemy\modules\SR5_IEDdetect\IEDdetect_detector.sqf"]; But no joy. Not that good on coding so i cant seem to find the correct information on how to change the variables and arrays... :butbut: Is it possible in other ways to limit the rank of a player (to simulate training for this kind of stuff) or have a UID or role limiation? Say only XXX UID (clan use) or Role: e.g only IED Tech can find and disarm? -
Executing a SQF if carrying certain equipment
frosties posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, Would it be possible to have a code in INIT.sqf that ran if a player picks up a certain item? such as a backpack or something? Something like [{typeOf (unitBackpack player) == "ITEM"}] execVM execVM "SCRIPT TO BE RUN"; Been sitting here looking and putting something together with no luck... -
i have set them both to 1920x1080 without any difference...
-
Yes i have fiddled around trying different sizes. But when having the same size the same problem exist. Using dual screens with 1920x1080. Same issue if i turn off one display :S
-
Help with a "IF" script
frosties replied to frosties's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
The tent is spawning on top of the tent, so that part is working. The thing is that i dont want any other tent that is Deployed in the same area ALSO should deploy camounet since they can share the big one that spawns. Shall look into the different suggestions. Thanks guys! EDIT: The proposed script wont work. How about if i add the option to manually deploy the tent? I have a script on a humvee i tried but it complained about a missing ";" somewhere, but cant figure out where in the script it is: gc_med_tent_act_id_pack_tent = gc_med_tent_tent this setVariable ["CamoDeployed", false, true]; this addAction ["Deploy camouflagenet", "scripts\camo.sqf", ["Deploy"], 51, false, true, "", "!(_target getVariable 'CamoDeployed') && !(_this in _target)"]; this addAction ["Stow camouflagenet", "scripts\camo.sqf", ["Stow"], 50, false, true, "", "(_target getVariable 'CamoDeployed') && !(_this in _target)"]; It is workin "as is" on the humvee, in the init of the vehicle. -
Hello, I have a script that allows the player to deploy a tent, and it spawns a camounet over it. However, if another player would like to put their tent under my net i need a IF. Something like: IF there is any camounetclass within 50 meters dont spawn a new one... My spawn code looks like gc_med_tent_tent_camou = "Land_CamoNetB_EAST_EP1" createvehicle [0,0,0]; How do i do to put a IF section before this?
-
Multi-Session Operations v3.45 released
frosties replied to tupolov's topic in ARMA 2 & OA - USER MISSIONS
@highead: No i cannot add JIP markers on the map with any other way other the the map. usually after a fresh restart the JIP markers are working, but after i have disconnected and connected again they will not work... have tried several times now... -
yes i do I got it to work in the demo mission. But when i try to add it to my mission the tent thingy wont work... have tried adding the character to action_manager.sqf and everything but it wont start..
-
Hello, Im trying to add a custom init line to a tent that i can deploy. init: this addAction ["Sign in", "support\modules\WHB_FOBSpawn\common\fn_addAction_SignInFOB.sqf", position player, 0, false, true, "", "true"]; Im guesstion i have the put the requested init within this code: gc_med_tent_tent = _tent_class createvehicle [0,0,0]; But i havent managed to get it to work yet, can someone assist me?
-
Multi-Session Operations v3.45 released
frosties replied to tupolov's topic in ARMA 2 & OA - USER MISSIONS
@highead: Havent tried that. When im clicking ALT+Left mouse it wont work, that i do know. Another question: Im looking into the option of having each soldier being able to raise a tent and "sign-in" to it and spawn there after getting killed. BUT, Is there a way to clear that spawn, or to change the sign-in to the base if you need to get back? Or can somebody assist me with adding an option to select where to spawn using R3F Revive or something? I dont always want to bring the LAV with me, instead just being able to HALO to a location and set up a small camps with tents and backpacks. Going to use this option on the tent. (Can somebody help me how i can get that into the INIT of the spawned tent?) 0 = this execVM "support\modules\recruitment\addAction.sqf"; this addAction ["Set Spawn", "support\modules\WHB_FOBspawn\common\fn_addAction_SignInFOB.sqf", position player, 0, false, true, "", "true"]; -
Multi-Session Operations v3.45 released
frosties replied to tupolov's topic in ARMA 2 & OA - USER MISSIONS
i have a problem with JIP markers. They will sometimes not even work from the beginning and sometimes they work just right after start of the server, but after i disconnect and reconnect they will not work. The ones i added before i disconnect is still working, but i cant add any other. using ACE and A2/OA and MSO WICT 3.45.561 -
Vehicle loadout after airdrop (mando missiles)
frosties posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, Two questions that im struggling with: Im using mando missiles, and when i call in a vehicle, say a humvee, is it then possible to add a line that goes into the INIT of that vehicle? My setting now is: mando_airsupport_opt3_array = ["ACE_HMMWV_GMV", "MTVR","MtvrRepair","RHIB","Zodiac"]; Can i add the INIT of a vehicle within this? -
Using && and == to give a function
frosties posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, Im trying to make it so that when a player has a certain rank, and have a certain backpack they get the mando console. my code looks like: [["Support Console", {(rank player == "Lieutenant") && typeOf (unitBackpack player) == "US_UAV_Pack_EP1"}] execVM "mando_missiles\mando_bombs\mando_giveme_console.sqf"; I have it working with either only rank or only backpack, but would like it so that the user must have BOTH the rank and the backpack.... EDIT. Never mind, i added this code and SAVED the file before trying and it worked... EDIT2: How can i change (rank player == "Lieutenant") so that it ask "If player rank is greater then sergeant" -
Using && and == to give a function
frosties replied to frosties's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
yes i have that page bookmarked, but its not easy to find a function always :) Trying to write it so it would work but no joy. my latest attempt: ["Support Console", {(rankId player >= "2") && typeOf (unitBackpack player) == "US_UAV_Pack_EP1"}] execVM "mando_missiles\mando_bombs\mando_giveme_console.sqf"; -
cool sixboy, updating ace now :D ---------- Post added at 18:48 ---------- Previous post was at 18:47 ---------- i have another issue, but i dont know if its a bug or a feat. Whenever im injured or wounded and have healed myself i loose the ability to use my G button to check my gear, or even use the mouse scroll menu? Is that a feat when u are wounded or a bug?
-
shark-attack can put into a bug report, i dont know what to writ e:)
-
Hello experienced problems after the latest update today. Cannot use the halo anylonger .. it develops and everything but still plummeting to the ground and dying...