Jump to content

Vaulter

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Vaulter

  • Rank
    Rookie
  1. Vaulter

    =BTC= Revive

    remind docs about LandVehicle - its ok here, i thought about "AllVehicles". so just ["LandVehicle", "Air", "Ship"] here as for temp vars - its just impact performance without any need.
  2. Vaulter

    =BTC= Revive

    Suggest you to remove temp vars and change wide class LandVehicle to more narrow: { { if (isPlayer _x && _x in BTC_who_can_revive) then {_men = _men + [_x];};} foreach crew _x; } foreach nearestObjects [_pos, ["Car", "Motorcycle", "Tank", "Helicopter", "Plane", "Ship"], 500];
  3. Vaulter

    =BTC= Revive

    There is a "bug" - Medic doesn't count as medic when in vehicle suggest following patch: diff --git a/=BTC=_revive/=BTC=_functions.sqf b/=BTC=_revive/=BTC=_functions.sqf index 12d93af..6c200c6 100644 --- a/=BTC=_revive/=BTC=_functions.sqf +++ b/=BTC=_revive/=BTC=_functions.sqf @@ -440,6 +440,16 @@ BTC_check_healer = _men = [];_dist = 501;_healer = objNull;_healers = []; _msg = "No medics nearby."; _men = nearestObjects [_pos, BTC_who_can_revive, 500]; + + if ( count _men == 0 ) then { + _vehs = []; + _vehs = nearestObjects[ _pos, ["Car", "Motorcycle", "Tank", "Helicopter", "Plane", "Ship"], 500 ]; + { { if ( typeOf _x in BTC_who_can_revive ) then { + _men set [count _men, _x]; + } } foreach crew _x; } foreach _vehs; + }; + + if (count _men > 0) then { {if (Alive _x && format ["%1",_x getVariable "BTC_need_revive" select 0] != "1" && ([_x,player] call BTC_can_revive) && isPlayer _x && side _x == BTC_side) then {_healers = _healers + [_x];};} foreach _men;
  4. Vaulter

    MP COOP GITS EVOLUTION - main thread

    its very nice to hear! Best wishes
  5. Vaulter

    MP COOP GITS EVOLUTION - main thread

    So, what's next?
×