Jump to content

feldmaus

Member
  • Content Count

    71
  • Joined

  • Last visited

  • Medals

Posts posted by feldmaus


  1. Hello,

     

    i am owner of ARMA3 and all DLC's. One of my favorite game server is managed by admins who don't share my opinion in game play, so they harassed me and decided to close my forum account. The chance to get a ban because of dislike on their server is high, but that's not the problem. They are using a shared ban list, which means when i get on their server again and they really want to ban me than i am banned on many other servers too. Currently they don't have my PlayID i think. But i wanna try to play further on their server. In case that they ban me i want to save money.

     

    How to do that?

    If i am banned, do i have to buy only another main ARMA 3 Game or all additional staff(DLC's) too?

    Can i buy another ARMA 3 game for cheap and add it to my Steam account?

    How to buy annother ARMA 3 game on Steam if i still have one? And how to select them form playing multiplayer?

     

    regards


  2. Hello,

     

    how to set several specific type of wounds to a Patient, to one body part?

     

    I am using the following line,

    [Zivilist, 1.0, "leg_r", "bullet"] call ace_medical_fnc_addDamageToUnit;

     

    but i can only add 1 wound. Even when i make this,

    [Zivilist, 1.0, "leg_r", "bullet"] call ace_medical_fnc_addDamageToUnit;

    [Zivilist, 1.0, "leg_r", "bullet"] call ace_medical_fnc_addDamageToUnit;

    [Zivilist, 1.0, "leg_r", "bullet"] call ace_medical_fnc_addDamageToUnit;

     

    i only get 1 wound.

     

    And the second Problem is, that the wound i add to the patient seems to be a random type. I need specific wounds not random type of wounds.

     

    cheers


  3. On 20.5.2018 at 6:10 PM, Bamse said:

    Which is the same thing as the user "computer" linked you in his reply at the top of the thread.. He linked to the actual code, you linked to the compiled/compressed/packaged as a mod-code.

    So this means, that some of the code didnt change in the last years? I cant see any changes at the file ACE_Medical_Treatments.hpp.


  4. Hello,

     

    if the patient is in the revive state, how much CPR's may/can i do? Should i execute CPR until the patient gets a pulse rate over 40? Or as long as the patient is not responisve?

     

    In normal life, the CPR can be done until the patient gets a normal breathing, i think this should be around pulse rate of 40?

     

    Which states does exist? (Explanation/Declaration)

     

    Regards


  5. @pierrimgi, you are talking about Line 9 but not Line 10.

     

    I understand Line 9.

     

    9.  _unit = _this select 0;
    10.  	[_this, (_unit getVariable 'unitDef') select 0, //object, delay

    why do you use _this in Line 10. In Line 9 i still defined the object, but in Line 10 you are passing the _this(array). I think this is a mistake?

     

    I still had a working script for infinte spawn, but its based on while and sleep commands. And i want to change my code to ground it on EH, which i think is much more performance friendly.


  6. thank you jazzraill, but static arguments are not a good idea. The script is used by more then one AI. However i changed my code, i think pierremgi is right but i will check my code tommorow.

    https://pastebin.com/0fRjL8u5

     

    1.  // Following sentences are added to the init line of the _unit
    2.  "_unit = this; //_unit is still an object but in next line it will be an array
    3.  _unit setVariable [ 'unitDef',[_delay,_vehCall,_vehSeat,_parkPlace,_parkRad];
    4. 
    5. 
    6.  /* We have to extract the Definitions from our Array, but the array is in the addEventHandler known as
    7.  _this and not as _unit, so we have to define _unit again. */
    8.  _unit addEventHandler ['killed', {
    9.  _unit = _this select 0;
    10.  	[_this, (_unit getVariable 'unitDef') select 0, //object, delay
    11.    	(_unit getVariable 'unitDef') select 1, //vehCall
    12.    	(_unit getVariable 'unitDef') select 2, //_vehSeat
    13.    	(_unit getVariable 'unitDef') select 3, //_parkPlace
    14.    	(_unit getVariable 'unitDef') select 4, //_parkRad
    15.    	] execVM 'unit_spawn.sqf'}];

    How can i add Line numbers to my Code above?

     

    Why not use in Line 10 _unit instead of _this at the beginning?

    10.  	[_unit, (_unit getVariable 'unitDef') select 0, //object, delay

     

    Please check my discription, am i wrong with my thoughts?


  7. Good morning,

     

    i wanna commit several commands in the init field of the <createUnit> command, How to do this? I get always an Error about missing brackets. Here my code:

    // create a new unit of same type at starting position
    _unitType createUnit [
    	_posUnit,
    	_unitgroup,
    		"_unit = this;
    		this addEventHandler ["killed", {0 = [_this,_delay,_vehCall,_vehSeat,_parkPlace,_parkRad] execVM "unit_spawn.sqf"}];",
    	_unitSkill,
    	_unitRank];

    Any idea?

     

    regards


  8. Hi All,

     

    i want to change my Code to avoid the loops in my script, therefore i want to insert the addEventHandler in my AI pilots Init Line to execute my script. And in my script i want to insert an <addEventHandler> in the init argument, is this possible?

     

    May AI respawn like players to keep their Init-Code?

    Or may AI only spawn?

    How can i add Code to the Init of my AI after <createVehicle>?

     


  9. I found some interesting thread,

    Re-adding supports after Player was killed/Reply from User Larrow

    In this thread there are a few important variables i should check,

    BIS_SUPP_HQ
    BIS_SUPP_allProviderModules
    BIS_SUPP_used_*
    BIS_SUPP_transmitting
    BIS_SUPP_limit_*
    BIS_supp_refresh

    What does these variables consists of? Are there more variables related to the Support Module?

    Further interesting Link,

    http://www.armaholic.com/forums.php?m=posts&id=170708

     

    And i should check following functions in the function viewer(Hit CTRL+F) of Arma,

    BIS_fnc_addSupportLink
    BIS_fnc_limitSupport
    BIS_fnc_removeSupportLink


  10. From what for a variable name are you talking about? What does this variable consists of? How is it called? How to target what?

     

    However i searched for cursortarget and found this page,

    https://community.bistudio.com/wiki/cursorTarget

     

    Is this related to your answer?

     

    And another interesting related topic i found,

    Are you talking about a variable which consists the linked object name to my vehicle?

     

    How can i check this in my script? With the command,

    linkedobjects=cursortarget;

    Can it return more than one linked object?

     

    regards


  11. Good morning,

     

    in my mission i setup a chopper+Crew for transport support, therefore i am using the support module transport which i sync to the vehicle. After dead of the chopper/crew(createvehicle is used), the sync is away. In Editor i tried to <support_trans synchronizeObjectsAdd [littlebird_1]> to resync my vehicle to the support module, without success. <synchronizedObjects support_trans> didnt listed any objects.

     

    Any hints?

     

    regards

×