-
Content Count
246 -
Joined
-
Last visited
-
Medals
Everything posted by cookies2432
-
Nvm! I got it all to work! :D
-
I'm still getting the error "gunShop_dialog resource not found" :(
-
Thanks a lot for the video, it has all I need, I will check it out fully tomorrow (since my brain is overheated and tired atm). :D
-
Anyone? :/
-
Hello, I'm in need of help with a script that's basicly a car shop. The units i'm using ingame are: 1 AI named "carseller" and 1 marker called "carspawn". This is the script: carseller addAction ["Buy Hatchback",{call fn_carBuySystem}, ["C_Hatchback_01_F", 200, "Hatchback"],6,false,false]; carseller addAction ["Buy Hobo",{call fn_carBuySystem}, ["C_man_p_fugitive_F", 3000, "Hobo"],6,false,false]; carseller addAction ["Buy Boxer",{call fn_carBuySystem}, ["C_Van_01_transport_F", 1500, "Boxer"],6,false,false]; carseller addAction ["Buy SUV",{call fn_carBuySystem}, [" C_SUV_01_F", 500, "SUV"],6,false,false]; carSeller addACtion ["Add 5000£ to wallet",{call fnc_addMoney}]; fn_carBuySystem = { private["_Money","_carSpawn"]; private ["_carID", "_carPrice", "_carName"," _caller"]; _carSpawn = carSpawn; _carID =(_this select 3) select 0; _carPrice = (_this select 3) select 1; _carName = (_this select 3) select 2; _carSpawn = carspawn; _caller = _this select 1; if (_Money >= _carPrice) then { _Money = _Money - _carPrice; sleep 3; _veh = _carID createVehicle (getPos _carSpawn); _veh setVehicleLock "LOCKED"; _veh setOwner (this select 3); _veh addAction ["Unlock Vehicle", {(_this select 0) setVehicleLock "UNLOCKED"}]; _veh addAction ["Lock Vehicle", {(_this select 0) setVehicleLock "LOCKED"}]; hint format ["You have bought a %1 and you have %2 dollars left.", _carName, _Money]; } else { hint "You do not have enough money for this car"; }; }; fnc_addMoney = { _Money = _Money + 5000; } Anyone got a clue what's wrong? :)
-
Need help with script
cookies2432 replied to cookies2432's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks :D -
Need help with script
cookies2432 replied to cookies2432's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It works! Thank you! -
Need help with script
cookies2432 replied to cookies2432's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am now using getMarkerPos :) And for the _money, where should i define it? EDIT: I missread lol -
Need help with script
cookies2432 replied to cookies2432's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Still not working, same error :/ -
Need help with script
cookies2432 replied to cookies2432's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I will try it. Thank you! -
Need help with script
cookies2432 replied to cookies2432's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Here you go: http://pastebin.com/GH09ppMR Sorry for the delay, and thanks for the tip, i will try it! :) -
Need help with script
cookies2432 replied to cookies2432's topic in ARMA 3 - MISSION EDITING & SCRIPTING
How do i do that? :/ -
Need help with script
cookies2432 replied to cookies2432's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Woops, yea that looks silly yea, wasn't on purpose. And what it's doing is it's saying something along the lines of "local variables in a global scope" -
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
I know, it's one of the reasons why i shut down the project -
Hello ArmA 3 Community. For the last 4 months i've been working on a terrain called "Finland". It's a fictional terrain based off Finland, the country with the 1000 lakes (and a few more). This is not a release but an inside look at what it will turn into when it's finished. Finland is a winter terrain at the size of 10 x 10 km, all of which is playable. Features: (so far) Custom Trees (A2) 1 Big city 2 Airfields, 1 military and 1 civillian Few military outposts and bases scattered across the map. Couple of small and medium sized villages all across the map. Lots of lakes (It's finland after all) Lots of mountains. A big easter egg (physicly big) https://gyazo.com/0249191e61b5cbf357b78846d2c863d1 https://gyazo.com/c77d388d13640de5ab3ae4631ed67068 https://gyazo.com/198fc7a43c1ca300984df17db51049e6 https://gyazo.com/d1740f7c859a897f70cb0bfeac15b699 https://gyazo.com/2c5da9ef2cc25fa8f37cc3d42e8b3032 https://gyazo.com/5c242f4eed67279c1d6f93cb20512368 https://gyazo.com/c15876b640c9985dbd899d1f6f2d8d66 https://gyazo.com/b3528ce3ce716b86e3e68dffbd7fd934 https://gyazo.com/09493ee068d2d42cca6abd874a57fece https://gyazo.com/40824d0d3f10360ac4542824b584145b Planned Features: 1 more big city Few more villages Complete second airfiled Flatter roads and much more. I am happy for any feedback that i can get, positive or negative :) Thanks for reading //Cookies
-
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
I'm sorry but i'm not working on the map anymore. -
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Due to a bug i lost a lot of work. I'm not thinking about not completing the map because of all the errors i have had with it.... Ever since i began working on it i have always encounter bugs. About 70% of my time that i have worked on this map has been solving bugs and glitches. -
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
I will be trying to keep this post updated with pictures as i keep working on the map, still happy for any feedback i can get :) -
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Here are 3 new screenshots :) http://imgur.com/a/xYS4X -
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Maybe if i have time, something like a summer version of this might be done as well, we'll see :) Also, i have flattened the terrain down a bit and changed out most of the buildings to make it feel and look more like finland. I will put up some screenshots here today if arma 3 approves and doesn't crash like it does at times :) -
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Agreed! That map was really good! -
Hi! For some reason i'm suddenly unable to mount my P: drive with DevPb, i have no idea why this is and i would be happy if someone could help me. I am not getting any errors, just 2 windows popping up and closes down. Nothing else. Actually, nothing seems to work on my DevPb, not sure why.
-
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Yea i've played it and it looks really good. It is sort of like that that i'm aiming to do it. Thanks for the tip! :) -
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
I just noticed your response (dunno why i didn't earlier). Yea i will check it out, i actually found some good buildings to use, will see about that when i start working on it again tomorrow. -
[WIP] Terrain Finland
cookies2432 replied to cookies2432's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
After a lot of great feedback i'm now changing the terrain to make it look more "Finland style". Will show screenshots when i'm done! (This will also speed up the work with roads since some of them were, well, tilting 90 degrees due to mountains) ;)