mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
conflicts
This commit is contained in:
parent
8b5f896424
commit
02e4b822e4
@ -47,13 +47,6 @@ _playerRadiation = missionNamespace getVariable [_playerRadiationKey, _playerRad
|
||||
if (_playerRadiation > 1) then {
|
||||
_radiationVal = linearConversion [0,100,_playerRadiation,0.1,1,true];
|
||||
[_radiationVal, 2] call epoch_setRadiation;
|
||||
|
||||
// if player has geiger counter make sound based on rads level
|
||||
if ('ItemGeigerCounter_EPOCH' in assignedItems player) then {
|
||||
_level = round(linearConversion [0,100,_radsLevel,0,3,true]);
|
||||
_sound = format ["geiger_%1",_level];
|
||||
playSound _sound;
|
||||
};
|
||||
} else {
|
||||
[0, 2] call epoch_setRadiation;
|
||||
};
|
||||
|
@ -336,8 +336,10 @@ EPOCH_ActiveTraderMission = [];
|
||||
_LastMissionTrigger = 0;
|
||||
|
||||
// setup radio active locations
|
||||
//Commented out by Raymix: Does not ser variable on locations for some reason
|
||||
/*
|
||||
{
|
||||
_x params ["_loc", "_rads"];
|
||||
_loc setVariable ["EPOCH_Rads", _rads];
|
||||
} forEach (missionNamespace getVariable ["EPOCH_radioactiveLocations", []]);
|
||||
//
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user