Page MenuHomeFeedback Tracker

3 small issues with respawn functions
New, WishlistPublic

Description

  • BIS_FNC_ADDRESPAWNPOSITION => respawn name (3rd parameter) is not used by BIS_FNC_RESPAWNMENUPOSITION

code extract

case (typename ""): {
_text = markertext _x;
};

code fix

case (typename ""): {
_text = _respawnPositionNames select _foreachindex;
if (_text == "") then
{

		_text = markertext _x;
		if (_text select [0, 1] == "@") then {_text = localize (_text select [1, count _text - 1])};

};
_picture = if (markertype _x == "empty") then {""} else {(markertype _x) call bis_fnc_textureMarker};
};

  • BIS_FNC_MOVETORESPAWNPOSITION => "moveinany" can move the player in a locked position inside vehicle and he can't get out anymore => if position is marker the fucntion moves all the players in the center of the marker => this is different than the standard respawn behaviour with respawn_west/east_xxx markers where players are moved in a random position inside the marker area (when marker is of shape ellipse or rectangle)

Details

Legacy ID
2752538904
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Event Timeline

d3nn16 edited Steps To Reproduce. (Show Details)Oct 18 2014, 5:46 PM
d3nn16 edited Additional Information. (Show Details)
d3nn16 set Category to Scripting.
d3nn16 set Reproducibility to Always.
d3nn16 set Severity to None.
d3nn16 set Resolution to Open.
d3nn16 set Legacy ID to 2752538904.May 7 2016, 7:38 PM