class Item6
{
position[]={12691,0,9070.52};
a=90;
b=90;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="radzone1";
expCond="(vehicle player) in thislist;";
expActiv="radzone1 = [] execVM ""SCRIPTS\radzone\radzone.sqf"";";
expDesactiv="terminate radzone1; titleText [""THE STRANGE FEELING IS GONE..."", ""PLAIN DOWN""];";
class Effects
{
};
};
Notice expActiv and expDesactiv. If I am not mistaken the "call player_traderCity" is what detects it as a trader city. If I am wrong feel free to let me know, LOL I very well could be.
The question...........
Can someone help me understand how I can make the radiation zone sensor detect as a trader city without removing what is already in expActiv and expDesactiv? Radiation zone is an example. I have multiple sensors I am wanting to do this for. I wouldn't want to obviously make a radiated spot a trader city zone ;)
Question
azzdayz
Ok guys I think this will be an easy one to answer, but I don't know how to go about it.
The first bit of code it the class sensor for the aircraft trader.
class Item5
{
position[]={5075,9,9733};
TRGDEF
name="zoneaircraft";
expCond="(player distance zoneaircraft) < 90;";
expActiv="[""Aircraft Trader"",false,""enter""] call player_traderCity;";
expDesactiv="[""Aircraft Trader"",false,""leave""] call player_traderCity;";
};
Now the next bit of code is for radiation zone
class Item6
{
position[]={12691,0,9070.52};
a=90;
b=90;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="radzone1";
expCond="(vehicle player) in thislist;";
expActiv="radzone1 = [] execVM ""SCRIPTS\radzone\radzone.sqf"";";
expDesactiv="terminate radzone1; titleText [""THE STRANGE FEELING IS GONE..."", ""PLAIN DOWN""];";
class Effects
{
};
};
Notice expActiv and expDesactiv. If I am not mistaken the "call player_traderCity" is what detects it as a trader city. If I am wrong feel free to let me know, LOL I very well could be.
The question...........
Can someone help me understand how I can make the radiation zone sensor detect as a trader city without removing what is already in expActiv and expDesactiv? Radiation zone is an example. I have multiple sensors I am wanting to do this for. I wouldn't want to obviously make a radiated spot a trader city zone ;)
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now