steam-76561198069261992
Member-
Content Count
26 -
Joined
-
Last visited
-
Medals
Everything posted by steam-76561198069261992
-
.
-
can be removed
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
dont worry, I fixed it my way. (pretty much the same still) and it works without errors. I guess I have no idea how it works. -
Hey, I am trying to make a small crafting system using addaction and dialogs. Though you can now just spam the addaction and just craft 1000 items at once. How would I go about adding a cooldown to my addaction? this addAction ["<t color=""#6FFFC2"">" +"Craft",{createDialog "CraftingUI";}];
-
Addaction cooldown?
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks alot! -
Help, checking for item in inventory?
steam-76561198069261992 replied to HeisenS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It works, thankyou. Also, is there a way to make it so it not only checks items of the player, but also magazines? Example would be: _items = items player, magazines player; But this doesnt work ofcourse. Edit: nevermind, found the solution. Thanks alot! -
Help, checking for item in inventory?
steam-76561198069261992 replied to HeisenS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, thanks for the quick response, though this is not what I am looking for. I am trying to make a crafting system and I want to make it so it uses multiple items. Lets say it uses "Scrap" twice, and uses a "Rifle_Body" once. So that would be 3 items that are all needed to execute the script. -
Help, checking for item in inventory?
steam-76561198069261992 replied to HeisenS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, I know this topic is really old, but how do I use this to check for multiple items of 1 specific item, and how do I check for multiple different items? -
Hi, I want to make a small key-card script but I need some help. I want to make it so that when you have a certain item in your inventory you automaticly get access to PD/DOC doors. ( player setVariable ["copLevel",1,true]; ) This is what I have tried: _items = items player; if ("Toolkit" in _items) then { player setVariable ["copLevel",1,true]; } else { player setVariable ["copLevel",0,true]; }; Though I can't get it to work this way, and I also dont know where I would put this script to make it work. Any help is appreciated.
-
COP Key-Card
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Whoops, that makes sense. Sorry haha. Thanks alot though. -
COP Key-Card
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Right, I was over excited. It works when the classname in question is ToolKit. But when I change it to "vop_keycard_west" it doesnt work anymore, and yes it is the correct classname. Any ideas @pierremgi ? -
COP Key-Card
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks alot, this works perfectly as how I wanted it to work. -
COP Key-Card
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I already use the same script for a bank robbery system, "items player" automaticly searches through the vest, uniform and backpack already. -
Test for Item in Inventory
steam-76561198069261992 replied to MI6K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Where would one put this script to make it work? 😄 -
Sort Weapons/Item/Backpacks/Magazines HELP
steam-76561198069261992 replied to .Marti's topic in ARMA 3 - MISSION EDITING & SCRIPTING
bump -
Sort Weapons/Item/Backpacks/Magazines HELP
steam-76561198069261992 replied to .Marti's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@Larrow @.Marti where would I put your script to make it work? I am kinda a rookie 😄 -
needhelp Saving crate contents.
steam-76561198069261992 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I have yet another question. Yes, I suck at scripting.. Hence why I am asking this haha. So I got a "RP" server for friends only, and I would like to know how I could save crate contents, and make them load on server start again. So lets say someone has 2 pistols, and owns a house. He can put one pistol into his house crate, and when the server restarts his pistol is still there. I tried looking at: https://community.bistudio.com/wiki/profileNamespace and https://community.bistudio.com/wiki/saveProfileNamespace, but with no succes. Any ideas? -
needhelp Saving crate contents.
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@.Marti well, as I mentioned above. I am not that familiar with Arma 3 scripting and with the post you send me I am not getting the info that I need 😄 -
needhelp Saving crate contents.
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Bump -
How do I add a cooldown to a script
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Alright, I managed to just disable everything for "Voted admins", the trashcans work now. Thanks -
How do I add a cooldown to a script
steam-76561198069261992 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, so I am currently working on a small basic RP server for a dozen friends.. And I am currently trying to create a "garbage man" job. So I have placed dumpsters around and once interacting with them a script gets called that basically adds certain items to a crate (The dumpster) But ofcourse it would be weird if you can just spam the script and gets loads of garbage and that way load your whole truck up with only 1 dumpster, so I want to add a cooldown to it. The script I used is as simple as: " testbox addmagazinecargoglobal ["vop_dilithium", 150]; " And as I am totally not a pro scripter, I was wondering how I would go and add a cooldown to this. I have tried sleep, uiSleep and waitUntil. But probably used them incorrectly.. Any tips? 😄 -
How do I add a cooldown to a script
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@stanhope thanks, and I know this thread isn't focussed on this. But how do I disable "admin voting" I have looked at "mission voting" "server.cfg" and also multiple threads, but it doesn't seem to work.. And my server is hosted on GPORTAL and in the server.cfg I cannot change anything, it just changes it back. -
How do I add a cooldown to a script
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@pierremgi I dont really understand what you mean? I dont want the cooldown to be on all crates, but it currently is. How would I set the cooldown for player like you said? -
How do I add a cooldown to a script
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@pierremgi Actually there is an issue, I just started the server for the first time and we already found an issue. When you activate 1 trashcan, the other trashcans are on cooldown too. Meaning that the cooldown is completely useless as I wanted it so that people wouldn't camp one can but go to others in other locations. -
How do I add a cooldown to a script
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@pierremgi Thanks, it works very well like I want it to work. Awesome! -
How do I add a cooldown to a script
steam-76561198069261992 replied to steam-76561198069261992's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@stanhope so I should put "nextRunTime 0" in initplayerlocal? also ur AddAction doesn't work, for some reason the whole action just doesn't show up at all, I have send u a PM with a question.