Legislator / GLT-Mod

1 stars 0 forks source link

Player starts at random position - respawn manager related issue #112

Closed Legislator closed 10 years ago

Legislator commented 10 years ago

The player is starting at a random position according to the defined array:

{ [west, _x] call BIS_fnc_addRespawnPosition; } forEach ["Refugee Camp", Mobile_Respawn];

It's also breaking the real random starting position which is used in some missions via nul = [[start1, start2, start3]] spawn GLT_fnc_RandomPos;

sxp2high commented 10 years ago

Ticket: http://feedback.arma3.com/view.php?id=18823

Will try to fix it later.

sxp2high commented 10 years ago

_null = [] execVM "startPos.sqf";

startPos.sqf

Hope it works, tested a couple times, seemed OK.

Legislator commented 10 years ago

Fix has been applied to all missions.

Legislator commented 10 years ago

The issue with the random startup position occured again in GLT Mod 1.22, GLT 20 - Winter is coming, short version.

init.sqf: http://pastebin.com/HZR73XMj

Has the fix been correctly applied?

sxp2high commented 10 years ago

Remove the startPos.sqf

Different approach, using PBO.

This will now replace BIS_fnc_moveToRespawnPosition, which will exit (do nothing) on first call (Mission start and JIP).

http://arma3.cc/temp/glt_startpos_fix.rar

Legislator commented 10 years ago

PBO has been included in the GLT Mod