Jump to content

Mr H.

Member
  • Content Count

    597
  • Joined

  • Last visited

  • Medals

Community Reputation

383 Excellent

4 Followers

About Mr H.

  • Rank
    Gunnery Sergeant

Contact Methods

  • Website URL
    https://mrhmilsimtools-arma3-mod.wikia.com/wiki/MRHMilsimTools_ARMA3_Mod_Wiki
  • Biography
    Whiskey Tango Foxtrot?!
  • Youtube
    https://www.youtube.com/channel/UCRAc5T6CsfXodKi9kKTET8Q?view_as=subscriber
  • Steam url id
    https://steamcommunity.com/id/wizardofodds/
  • Twitch.Tv
    https://www.twitch.tv/lunaticwraith

Profile Information

  • Gender
    Male
  • Location
    https://mrhmilsimtools-arma3-mod.wikia.com/wiki/MRHMilsimTools_ARMA3_Mod_Wiki

Recent Profile Visitors

1617 profile views
  1. You've got the uid so you can retrieve it with https://community.bistudio.com/wiki/BIS_fnc_getUnitByUid
  2. You kind of answered your own question : https://community.bistudio.com/wiki/Arma_3:_Event_Handlers/addMissionEventHandler#PlayerConnected 😉
  3. To heal why don't you use the ace function ? [_unit,_unit] call ACE_medical_fnc_treatmentAdvanced_fullHeal;
  4. Assuming your code is correct here's how I would set it up : In your initserver.sqf In your init.sqf Using cba events to run some code where unit is local is how ACE does it instead of remote executing, I believe it's better optimized this way.
  5. Does the rest work ? If so have you tested just the text bits in the console to see if they work ?
  6. There are a few other things that are not ok in your code: replace the WEST in your remote exec's by _unit. And anyway if I where you I'd just remote exec the whole healing.sqf where unit is local (and remove all the remote exec's inside) also in the line where you use the eject action _this should be _unit. Sorry for not explaining everything or pasting full code but I'm on my phone.
  7. Okay so first you should add the handler only on the server. Best way is to add it from your initserver.sqf It will look something like that. mev addEventHandler ["GetIn", { params ["_vehicle", "_role", "_unit", "_turret"]; [_unit] execVM "healing.sqf" }];
  8. Also your messages will be seen by everyone in blufor. And instead of using a trigger you should use a getIn eventhandler.
  9. First line should be _unit = _this select 0;
  10. The file you posted is not from the original mod. You should use the original version where there are no such errors 😉
  11. Mr H.

    Unconscious Markers

    The "ace_uncounscious" event doesn't work like that addEventHandler only works with arma 3 vanilla events. Ace events use Cba event system
  12. Target has to be defined within the scope of your event handler action. You can store/retrieve it in missionnamespace for example. It depends on what type of data you are trying to pass.
  13. @GEORGE FLOROS GR for the record these are also visible if you paste in visual studio code and seem most common when code is posted from a phone. @Beans135 btw pie_helmet in your weapons array should be between ""
  14. When copying/pasting from this forum some invisible characters are sometimes created. Just rewrite the code by hand.
  15.  class CfgPatches { class TIOW_Tau_Headgear { weapons [] = {Pie_helmet}; requiredVersion = 0.1; requiredAddons [] = {"A3_characters_F}; }; };
×