Thought I would leave this here for anyone looking to play with irradiated zones on their map.
variables.sqf has:
And the player_spawn_2.sqf has:
So you could potentially add a sensor over an area with loot crates...
variables.sqf has:
Code:
DZE_Quarantine = false;
And the player_spawn_2.sqf has:
Code:
if(_outsideMap OR DZE_Quarantine) then {
DZE_InRadiationZone = true;
};
So you could potentially add a sensor over an area with loot crates...
Code:
class Item0
{
position[]={X,Z,Y};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="radzone";
expCond="(player distance radzone) < 200;";
expActiv="TitleText[""Your Geiger counter starts making noise..."",""PLAIN DOWN""]; DZE_Quarantine = true;";
expDesactiv="TitleText[""Your Geiger counter is now silent."",""PLAIN DOWN""]; DZE_Quarantine = false;";
class Effects
{
};
};