Jump to content

Depressed-66022b82dea61fee

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Everything posted by Depressed-66022b82dea61fee

  1. I've been trying my best to get a script to work which allows a server to detect players within a specific vehicle. Here are the versions I've tested. They do not work on a dedicated server though. 1: {_x in object} count (playableUnits) == {alive _x} count (playableUnits); 2: _allPlayers = call BIS_fnc_listPlayers; {_x in object} count (_allPlayers) == {alive _x} count (_allPlayers); 3: {_x in object} count (allPlayers) == {alive _x} count (allPlayers); 4: ( {alive _x && !(_x in object)} count allPlayers ) == 0 I'm terrible at scripting but I try my best to understand. If you have a fix that is great, though I'd love to know how I messed up and how to improve for the future. :)
  2. Depressed-66022b82dea61fee

    Dedicated server check for player within vehicle

    Thank you! also, thank you for including the wiki links so I can learn more! 🙂
  3. Great help, deserves awards

  4. Depressed-66022b82dea61fee

    Dedicated server check for player within vehicle

    First, I wanted to thank you for helping. Second, I want mapa to be true if one player is in the car even if they are dead. I also want mapa to be true if there are two or three or four etc. players in the car.
  5. Depressed-66022b82dea61fee

    Dedicated server check for player within vehicle

    My fault, I'll go into greater detail. I have an object placed within eden, named aavc7a1 under variable name (the literal name of the car) for simplicity. Then I have a trigger with the condition of the script i.e "{_x in aavc7a1} count (playableUnits) == {alive _x} count (playableUnits);" the trigger is set to operate on the server only, and has the activation, mapa = true; which connects to an objective. edit: I want the server to check for any players within the vehicle. Meaning the second a single player enters the vehicle the condition of the trigger is met
×