gknova61
Member-
Content Count
9 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout gknova61
-
Rank
Private
-
I just don't understand what I'm doing wrong... when I don't copy-pasta if statements and try to write my own I get this error lol Code: players = []; whitelist = ["Richard"]; { if((alive _x) && (_x != player) && (isPlayer _x) && (currentWeapon _x) && (!(name _x) in whitelist)) then { players = players + [_x]; hint format ["Found someone: %1",typeOf _x]; }; }forEach nearestobjects[player, ["CAManBase"], 1000]; //Basically, what I'm doing here is wanting all alive entities that aern't my player, but a human player themselves with a weapon in hand (ignore unarmed players), and if their name isn't in a whitelist, add them to an array of players to parse later. This is the part in the code with the error. Here is the error:
-
Setting variables in one script to make them carryover to another script?
gknova61 replied to gknova61's topic in ARMA 3 - MISSION EDITING & SCRIPTING
There anyway I can do it without changing the 2nd script (initSoldier.sqf)? I can't change it at all. -
Setting variables in one script to make them carryover to another script?
gknova61 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
The title is worded poorly IMO but that's the best that I could get it to. Basically, I've got a mission in the making, and like alot of others, I've ran into a problem. So, I've got a variable being declared locally in one script (call it script B), and another script with the same variable being declared as compileFinal "test". Basically, I need this variable to carry on into the other script when the local variable is declared. Let me give you an example: init.sqf: _name = compileFinal "hi2"; [] execVM "initSoldier.sqf"; initSoldier.sqf: _name = "hi"; //In theory, this shouldn't change. It should stay the same (hi2) since it's compileFinal but it just declares as a new variable I'm guessing because it's in a different script. So, if I were to print this var to the screen, it would say hi, not hi2 I need to keep the variable in initSoldier.sqf local but what do I need to do in init.sqf for that to work so _name would still be hi2 even thou it's in a different script? Sorry for the confusing question lol. -
Stratis-RP:Ultimate is not dead quite yet...
gknova61 replied to austin_medic's topic in ARMA 3 - USER MISSIONS
-General Store for civ -Cell Phone (make this an item you need to purchase) -Police Checkpoints? -Glasses on the manikins -Make money diving (like Turtle Poaching) -Make some gang areas and make them so gangs can 'take over' and hold down the areas Just a few ideas. -
ARMA 3 Addon Request Thread
gknova61 replied to max power's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Thanks, dude! Is there also a folder where the server's mods are downloaded? If not, then consider this a request :)Another problem I have is with servers that have 'modpacks' that I need to update client-side on my own :P -
ARMA 3 Addon Request Thread
gknova61 replied to max power's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
A mod that allows you to download a server's mission file? Since I see the "Recieving Mission File", it must be getting it from the server but loading it into the RAM... can we get a mod that gives you the option to store the mission locally for later use? Often times I go on servers like insurgency and they're running a version of it that I can't seem to find on the forums but know that the admins are too incompetent to actually change any real things other than the name and the picture so people can't track the mission down to play for themselves. -
Is any of the following going to be added? Some features are SealTeamSloth but would be very nice to see on here -Nametags that hover over names when you get close -Item and Gun Shop -Licenses -Airfield Shop -Gang Areas -Rebel Areas
-
I've read the thread on how to setup an ArmA 3 dedicated server on linux but most of the commands and packages used in the tutorial are for Debian, Ubuntu, etc. and not CentOS. I was wondering if someone could do a tutorial or make a post on here how I would go about setting up a server on CentOS.
-
Was this done on the official mission/server? Reason I ask is because choppers weren't implemented yet...