aeroson

"Error: No unit"

Aug 8th, 2016
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. // result (PHI & Fijapowa are bodyless zeuses)
  2. [["CloudStalker [AM 2]",[
  3. ["Error: No unit",[1497.53,1081.72,22.9814],2757.95,false,true],
  4. ["PHI [AM 2FS]",[2171.11,3477.83,28.4924],1222.36,true,true],
  5. ["Error: No unit",[4026.42,3093.17,1.2347],684.352,false,true], // CloudStalker reported he could hear this player as if he had TFAR disabled, i was standing next to this player ingame with no problems
  6. ["Fijapowa [AM 2]",[1906.01,3551.1,211.111],1511.18,true,true]],"
  7. "]]
  8. // CloudStalker was the only one having such problems
  9.  
  10.  
  11. // watched this
  12. _y = [];
  13. {
  14. private _a = _x getVariable ["tfarBug", []];
  15. if(count _a > 2) then {
  16. _y pushBack [name _x, _a , "
  17. "];
  18. }
  19. } forEach allPlayers;
  20.  
  21.  
  22.  
  23. // executed this
  24. [{
  25. private _y = [];
  26. {
  27. _y pushBack [ name _x, getpos _x, _x distance player, isPlayer _x, _x in allPlayers];
  28. } forEach (allPlayers - (allUnits arrayIntersect allPlayers) - (entities "HeadlessClient_F"));
  29. player setVariable ["tfarBug", _y, true];
  30. },"BIS_fnc_spawn",true] call BIS_fnc_MP;
Advertisement
Add Comment
Please, Sign In to add comment