mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-24 17:10:49 +03:00
Hide corpse markers for bodies that are hidden
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
[FIXED] CFGMoves/Animation CTD on server. Thanks Choc
|
[FIXED] CFGMoves/Animation CTD on server. Thanks Choc
|
||||||
[FIXED] DayZ_RollingMessage FPS impact. #1926 @BigEgg17
|
[FIXED] DayZ_RollingMessage FPS impact. #1926 @BigEgg17
|
||||||
[FIXED] Random skin selection on new character creation with DZE_defaultSkin = [["Male skin1","Male skin2"],["Female skin1","Female skin2"]];
|
[FIXED] Random skin selection on new character creation with DZE_defaultSkin = [["Male skin1","Male skin2"],["Female skin1","Female skin2"]];
|
||||||
|
[FIXED] Corpse markers are now deleted for bodies that are hidden.
|
||||||
|
|
||||||
[NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017)
|
[NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017)
|
||||||
[FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions.
|
[FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions.
|
||||||
|
|||||||
@@ -50,13 +50,15 @@ while {true} do {
|
|||||||
_name = name player;
|
_name = name player;
|
||||||
{
|
{
|
||||||
if (_x getVariable["bodyName",""] == _name) then {
|
if (_x getVariable["bodyName",""] == _name) then {
|
||||||
_bodyCount = _bodyCount + 1;
|
_pos = visiblePosition _x;
|
||||||
_pos = [_x] call FNC_GetPos;
|
if (_pos select 2 >= 0) then { //Body is not hidden
|
||||||
deleteMarkerLocal format["MyBody%1",_bodyCount];
|
_bodyCount = _bodyCount + 1;
|
||||||
_marker = createMarkerLocal [format["MyBody%1",_bodyCount],_pos];
|
deleteMarkerLocal format["MyBody%1",_bodyCount];
|
||||||
_marker setMarkerTypeLocal "DestroyedVehicle";
|
_marker = createMarkerLocal [format["MyBody%1",_bodyCount],_pos];
|
||||||
_marker setMarkerTextLocal localize "STR_EPOCH_RIP";
|
_marker setMarkerTypeLocal "DestroyedVehicle";
|
||||||
_marker setMarkerColorLocal "ColorRed";
|
_marker setMarkerTextLocal localize "STR_EPOCH_RIP";
|
||||||
|
_marker setMarkerColorLocal "ColorRed";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
} count allDead;
|
} count allDead;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user