Jump to content

Lucullus

Member
  • Content Count

    134
  • Joined

  • Last visited

  • Medals

Everything posted by Lucullus

  1. Lucullus

    Naming a Respawn Position

    [West, Medical_1,"my_custom_name"] call BIS_fnc_addRespawnPosition; https://community.bistudio.com/wiki/BIS_fnc_addRespawnPosition
  2. I think the easiest way is: First store your loadout with setUnitLoadout. take Parachute from Heli-Cargo, enter the Heli, fly away. When it's time to jump off spawn Ammobox with Parachute behind the Heli. Add an Action to Ammobox with addaction and something like "Take your Backpack" and getUnitLoadout. Only the Ammobox must handled Serverside.
  3. Testing a little bit. in description.ext respawnTemplates[] = {"MenuPosition","Tickets","Spectator"}; The Spectator-Mode is available after tickets = 0. In Spectator press <m> for Map and left Mousebutton for Camera on Map. Another touch on <m> opens the Freecam. Edit: Only an idea, quick and dirty... initPlayerLocal.sqf [player, 3] call BIS_fnc_respawnTickets; Luc_Spectate_after_Tickets_end = { _wait = getMissionConfigValue "respawnDelay"; waitUntil {[player] call BIS_fnc_respawnTickets < 1}; sleep _wait + 5; ["close"] call BIS_fnc_showRespawnMenu; sleep 0.2; ["Initialize", [player, [], true]] call BIS_fnc_EGSpectator; }; [] spawn Luc_Spectate_after_Tickets_end;
  4. Yes, but i think there's no way, because the player is dead forever. Solution, when ticket reached 1 instead of 0?
  5. from my last mission: description.ext // Respawn respawn = 3; respawnButton = 1; respawnDelay = 6; respawnDialog = 0; respawnTemplates[] = {"MenuPosition","Tickets","Spectator"}; respawnOnStart = -1; initPlayerLocal.sqf [player, 11] call BIS_fnc_respawnTickets; and don't forget the respawn-markers
  6. if (isServer)... and [player,3]... only works on ServerClients, not on Clients or Dedicated.
  7. Lucullus

    Return Unittype

    _role = getText (configFile >> "CfgVehicles" >> (typeOf _unit) >> "displayName"); hint format ["Hello %1, my name is %2 %3, what do you want?", name _caller, _role, name _unit]; too late
  8. Lucullus

    "Spawn Vehicle" Option

    https://community.bistudio.com/wiki/BIS_fnc_garage
×