Jump to content

bumyplum

Member
  • Content Count

    71
  • Joined

  • Last visited

  • Medals

Community Reputation

5 Neutral

About bumyplum

  • Rank
    Corporal

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. With using; _Veh_Config = (configfile >> "CfgVehicles") call BIS_fnc_getCfgSubClasses; How would i be able to add only all "LandVehicle" to an array? Any info would be helpful
  2. bumyplum

    Default textures

    @Dedmen _Tex = getArray (configFile >> "CfgVehicles" >> typeOf (vehicle player) >> "hiddenSelectionsTextures"); // Get the textures _TexN = count _Tex; for "_i" from 0 to _TexN do // Repeat for how many textures { _Tex = getArray (configFile >> "CfgVehicles" >> typeOf (vehicle player) >> "hiddenSelectionsTextures"); abc = format["_Tex%1 = _Tex # %1;",_i]; // Setting _Tex%1 To the number of textures vehicle player setObjectTextureGlobal [format[abc,_Tex%1],_i]; // set the textures }; I'm trying to set the textures of a vehicle to the default ones
  3. bumyplum

    Default textures

    _Tex = getArray (configFile >> "CfgVehicles" >> typeOf (vehicle player) >> "hiddenSelectionsTextures"); _TexN = count _Tex; for "_I" from 1 to _TexN do { format["_Tex%1 = _Tex # %1;",_I]; vehicle player setObjectTextureGlobal [format[%1,_Tex%1],_I]; }; Can Someone explain to me what I'm doing wrong?
  4. So if you have retextured a vehicle for example using setobjecttextureglobal, how would i find/set the textures back to their default ones?
  5. bumyplum

    Healing Issue

    It was just a place holder to test if it would work
  6. bumyplum

    Healing Issue

    Are you able to show me an example which works, i'm unable to get it to work For example player addEventHandler ["HandleHeal", { params ["_unit", "_healer", "_isMedic"]; _healer setdamage 1; }]; // Doesn't work
  7. How would i stop my player from being able to heal damaged players around me from the scroll menu /or atleast detect when a player is healing another player
  8. bumyplum

    ShowHud

    Say i want to restrain some one but when they're restrained they can get into a vehicle still, is there a way to remove their hud from a locally executed script
  9. Is there a way to Use the Showhud false; command on the players cursortarget?
  10. bumyplum

    Variable Issue

    When i use an animation event handler the character just replays the same animation
  11. bumyplum

    Variable Issue

    I don't seem to be able to get wait until to work, it still only plays the animation once _RestrainedQuery = player getvariable "Restrained"; _pla = player; if (_RestrainedQuery isEqualTo true) then { waitUntil { _pla playmove "AmovPercMstpSnonWnonDnon_Ease"; !(_RestrainedQuery isEqualTo true) } }
  12. bumyplum

    Variable Issue

    The animation "AmovPercMstpSnonWnonDnon_Ease" doesn't look and the only way to get the player to stay in the animation you have to keep running it on them
  13. bumyplum

    Variable Issue

    ///// After further research I have found works to detect if its true or false: _RestrainedQuery = player getvariable "Restrained"; if(_RestrainedQuery isEqualTo true ) then {hint "1"} else {hint "2";};  ///// How ever _RestrainedQuery = player getvariable "Restrained"; While {typename _RestrainedQuery == typename true} do { player playmove "AmovPercMstpSnonWnonDnon_Ease"; }; Restrains the player If _RestrainedQuery Is true, how ever when it's false it doesn't stop playing the move (Unrestrain them)
  14. I'm trying to make a restrain script, how ever the player isn't being restrained whilst the variable is true, can some one tell me what i'm doing wrong here: _pla = player; _RestrainedQuery = _pla getvariable "Restrained"; While {_RestrainedQuery == "true"} do { _pla playmove "AmovPercMstpSnonWnonDnon_Ease"; }; hint str _RestrainedQuery;
  15. I'm attempting to create a menu using "RscButtonmenu" How ever when i hover over the button it breaths white which doesn't look nice, is there a way to disable it?
×