Is there anyway to get this to do damage to the AI on my server and zombies? I use WAI and DZAI
Thanks in advance to anyone who can help.
Spoiler
private["_chance"];
While{true} do {
waituntil{
((nearestObject [getpos player, "SmokeShellRed"]) distance player < 10)
and
(getpos (nearestObject [getpos player, "SmokeShellRed"]) select 2 < 0.5)
};
//cuttext ["It's Lethal Green Gas!!", "PLAIN DOWN"];
r_player_blood = r_player_blood - 2000; //OPTIONAL //This will remove 1000 blood from the infected player upon infection
"dynamicBlur" ppEffectEnable true; // enables ppeffect
"dynamicBlur" ppEffectAdjust [15]; // intensity of blur
"dynamicBlur" ppEffectCommit 3; // time till vision is fully blurred
//enableCamShake true; // enables camera shake
//addCamShake [10, 45, 10]; // sets shakevalues
//5 fadeSound 0.1; // fades the sound to 10% in 5 seconds
_chance = ceil (random 5);
if (_chance <= 3) then {
[player,"cough",0,false] call dayz_zombieSpeak;
};
sleep 5;
"dynamicBlur" ppEffectEnable true; // enables ppeffect
"dynamicBlur" ppEffectAdjust [0]; // enables normal vision
"dynamicBlur" ppEffectCommit 5; // time it takes to normal
//resetCamShake; // resets the shake
//20 fadeSound 1; //fades the sound back to normal
};
Question
chi
Is there anyway to get this to do damage to the AI on my server and zombies? I use WAI and DZAI
Thanks in advance to anyone who can help.
private["_chance"];
While{true} do {
waituntil{
((nearestObject [getpos player, "SmokeShellRed"]) distance player < 10)
and
(getpos (nearestObject [getpos player, "SmokeShellRed"]) select 2 < 0.5)
};
//cuttext ["It's Lethal Green Gas!!", "PLAIN DOWN"];
r_player_blood = r_player_blood - 2000; //OPTIONAL //This will remove 1000 blood from the infected player upon infection
"dynamicBlur" ppEffectEnable true; // enables ppeffect
"dynamicBlur" ppEffectAdjust [15]; // intensity of blur
"dynamicBlur" ppEffectCommit 3; // time till vision is fully blurred
//enableCamShake true; // enables camera shake
//addCamShake [10, 45, 10]; // sets shakevalues
//5 fadeSound 0.1; // fades the sound to 10% in 5 seconds
_chance = ceil (random 5);
if (_chance <= 3) then {
[player,"cough",0,false] call dayz_zombieSpeak;
};
sleep 5;
"dynamicBlur" ppEffectEnable true; // enables ppeffect
"dynamicBlur" ppEffectAdjust [0]; // enables normal vision
"dynamicBlur" ppEffectCommit 5; // time it takes to normal
//resetCamShake; // resets the shake
//20 fadeSound 1; //fades the sound back to normal
};
Link to comment
Share on other sites
18 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