Search the Community
Showing results for tags 'Different'.
Found 3 results
-
If following the Greek Voiced Campaign Defying the Odds and are worried about even minor spoilers please read no further. Thanks!
-
I am making a storage system that will take items from a crate and store them in an array. Where im having some trouble is when I convert the classname to displayname to display in the listbox, When the player selects the listbox displayname I have to convert the displayname back to classname and end up getting a different classname then what goes in. If I input "U_BG_Guerilla2_2" whos displayname is "Guerilla Outfit (Pattern)" into private _classname = "getText (_x >> 'displayName') == _this" configClasses (configFile >> "cfgWeapons"); if (count _classname > 0) exitWith {configName (_classname select 0)}; _classname = "getText (_x >> 'displayName') == _this" configClasses (configFile >> "cfgMagazines"); if (count _classname > 0) exitWith {configName (_classname select 0)}; _classname = "getText (_x >> 'displayName') == _this" configClasses (configFile >> "cfgVehicles"); if (count _classname > 0) exitWith {configName (_classname select 0)}; _classname It will return "U_IG_Guerilla2_2" instead of "U_BG_Guerilla2_2". I have tried using [configFile >> "cfgWeapons" >> _classname, true] call BIS_fnc_returnParents; but returns ["U_IG_Guerilla2_2","Uniform_Base","ItemCore","Default"]. This seems to be a problem with vanilla arma gear because any RHS gear I use it on returns the same classname. If anyone has any ideas I appreciate the help.
- 3 replies
-
- displayname
- classname
-
(and 2 more)
Tagged with:
-
Respawning as a different unit
fernandolvferreira posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey guys! How are you doing? Well, I've been working on this mission for another group and I'm trying to make something really different out of it... Well, basically the mission starts with BLUFOR (conventional infantry) performing a ground assault on OPFOR, the missions is a COOP. The guy asking for the mission asked me to create a respawn, but the thing is, I'm not a big fan of respawns, so I don't use them on my group missions, therefore, I don't understand nothing about them. What I want to do basically is: #1) Respawn will be available only after OBJETIVE A has been taken by BLUFOR #2) Players respawning will respawn as a different unit (paratrooper) freefalling in a predetermined area I have no idea where to start from, actually I don't even know it this is possible. To make things easier, my #1 objective is not a priority, as long as #2 is possible. Thanks in advance!