Search the Community
Showing results for tags 'role'.
Found 5 results
-
How do I tell if a player is in a vehicles commander position?
juleshuxley posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
When a player is in the driving position in a vehicle, it's easy to find out that he is the driver: // assuming player is in driving seat assignedVehicleRole player; // returns "driver" However, when you're the commander or gunner you get an array that's the "turret path" of what turret you're in: // assuming player is in commanding turret (assignedVehicleRole player) select 1; // returns [0,0] often, but the commander turret can vary depending on vehicle, especially modded vehicles If the commanding turret were always [0,0] I could use that to detect if the player is in the commanding position. However sometimes it's [0,1], and on modded vehicles it can [5] or [6]. I thought that (allTurrets [_this, true]) select 1// [[0],[0,0]] might have been the answer. That the last entry in the array it returns was always the commanding turret. This is not the case, again, often not on modded vehicles. Basically I'm about to go ahead and hard code every single vehicle name in my script with a reference to which turret path is the commanding position. However, before I do that, is there a cleverer way to find out if the player is in the commanding position? The moveInCommander command always moves the player to the commanding position, so there must be a way to query the vehicle and for it to give the commanding position / commanding turret path, right? -
[SOLVED] What is the config path for unit role icons in group bar?
Leopard20 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello everyone. Does anyone know the config path (or direct path, if you have found them in de-PBOed addons) for the unit role icons in the group bar (above unit names) ? (e.g. medic, engineer, grenadier, sniper, etc) Searched the whole config but didn't find anything. Strangely, all subclasses in CfgRoles have identical "sergeant" icons! The only icon I found was for medics which was in cfgVehicles >> (typeof _unit) >> picture (though I still had to find the actual picture in cfgVehicleIcons, because that one was just a short reference name) -
QWENCH Version 0.1 Git: https://github.com/code34/qwench.altis Hello, I tried yesterday to look at how Altis Life worked and start cleaning the repository. There was so much to clean up, useless code or insane trick, db management issues, and so on I have not seen yet, that finally this morning, I throw the sponge because I think it would be much easier to create a new generic server with generic tools that I have already made available to the community under the GPL license. My goal is to provide the server-side minimum required to allow anyone who wants to create RP servers (role play) to start in minutes and develop / modder directly what interests them. Do not think that it will do the work for you. The goal is to provide more efficient orders for coding good RP Basically the common base will translate like that, finally was the first idea that I have: - a ready-to-use module that manages the database. Dev just has to install extdb3, insert his credentials into a config file, and he can immediately use the server-side database through SQL queries - a message bus module that will manage all the exchanges between the clients and the server and minimize all the code to produce to do that. Client will be able to call functions on the server as if they were local (oo_bme) - no bullshit, just the minimun to do the job If you have ideas, or even share my vision, do not hesitate to show up, we may be doing great things together. I do not do it for money, for women, or for glory. If this project does not interest anyone, I would stop to focus on other developments, there is so much to do. Thanks to the google translator for his help, I must say that the language is a real obstacle to the sharing of ideas and that it is complicated to give as much as one would like.
-
Does anybody know how to get the value set in the eden "role description" (which shows in the lobby) in a script? (getDescription does something completely different)
- 2 replies
-
- role
- description
-
(and 2 more)
Tagged with:
-
In this game there are 3 sides: -BluFor Special Forces They are tasked by saving the pilots tha the Rebels Hold. -Opfor Russian Army They are tasked with exchanging the ammo truck with the pilots. But they also want to keep their truck. -Indipendant They are tasked with exchanging the Pilot Hostages for the Truck that Opfor hold. But they also want to keep the hostages. -Civilians The pilots, they are US Army Pilots . They need to be rescued by Blufor. How you will complete your objectives and how you are going to negotiate it's up to you! Notes -The ideal number of palyers are as many as you can. Blufor needs to be 1 for every 9 players the other sides have. -You can apply your own house rules, (our community for example does not allow for other sides to enter their delivery areas). Mods -RHS: Armed Forces Of The Russian Federation http://www.armaholic.com/page.php?id=27150 -RHS: United States Armed Forces http://www.armaholic.com/page.php?id=27152 -RHS: GREF http://www.armaholic.com/page.php?id=30998 These mods here are in workshop too _____________________________________ -CBA_A3 http://www.armaholic.com/page.php?id=18767 -ACE3 http://www.armaholic.com/page.php?id=28557 -ASR AI http://www.armaholic.com/page.php?id=24080 -ALiVE http://www.armaholic.com/page.php?id=23684 -Spyer Addons http://www.armaholic.com/page.php?id=30013 -Task Force Radio http://www.armaholic.com/page.php?id=23615 Sendspace Reddit Steam Workshop +++++++ -Credits- +++++++ CyDoN Saberbit - for help with some scripts ShackTack Community for the conept ________________________________________________ If anyone wants to help, I am open to suggestions, cooperation and new ideas.