what the mission did before you changed it was spawn a group with the name sniperteam
SniperTeam = createGroup resistance;
publicVariable "SniperTeam";
then checks for the amount of alive units in that group if 0 then mission complete. You can check sarge AI's spawn script to see if the groups...
Epoch Animated Heli Crashes
Version 1.1
Update V1.1 = Added more helis/planes to the array of spawnable animated heli crahses
Replace everything inside crash_spawner.sqf with this
/*
Script Name: crash_spawner.sqf
Original Author: Grafzahl / Finest
Modified by BushWookie for...
to add study body to the script
in your player_death.sqf find
_graveBase = createVehicle ["GraveCross2", _containerLoc, [], 0, "NO_COLLIDE"];
_graveBase setPosATL _containerLoc;
_graveBase setDir _playerDir;
then under it add
_namePlayer = _body getVariable["bodyName","unknown"];
_graveBase...
try this (not tested)
Private ["_EH_Fired","_EH_Hit","_EH_Killed"];
if (isNil "inSafezone") then {
inSafezone = false;
};
while {true} do {
waitUntil { inSafeZone };
titleText [format["YOU'RE NOW IN THE SPAWN AREA. DEACTIVATING WEAPONS."],"PLAIN DOWN"]; titleFadeOut 4...
why anyone would charge for a script that will be less than 10 lines long is beyond me and this is a community forum its for sharing and helping people not for selling text
not far off
_aiunit addEventHandler ['killed',{_this execVM "\z\addons\dayz_server\Missions\bodyclean.sqf";_this execVM "\z\addons\dayz_server\Missions\weaponclean.sqf"}];
and then in weaponclean
_ai = _this select 0;
removeAllWeapons _ai;
but that would remove all the weapons from all...
re download a clean mission file and follow the steps to install sarge AI slowly and double check each step is done correctly with no errors if it still doesn't work i would advise you to learn the basics of SQF before continuing with trying to modify your mission file or just see if anyone will...
this is a safezone and anti theft script, i have no idea who originally wrote this and i cant remember where i got it from either and i have editied it a little since i got it
if (!isServer) then {
if (isNil "SafeZoneClientCheck") then
{
SafeZoneClientCheck = true;
[]...
you dont automatically get it if your host is dayz.st then in your control panel near the bottom you need to tick enable for advanced settings
then you will be able to download your default mission file and server file by clicking get default
for either one then you will need a tool to...
try this as the trigger
_trg=createTrigger["EmptyDetector",getPos _tempContainer];
_trg setTriggerArea[10,10,0,false];
_trg setTriggerActivation["ANY","PRESENT",true];
_trg setTriggerStatements ["this", "player say 'spooky1'", ""];
why would he have to pay some one ?
add a killed event handler to the AI that calls a script that checks the ai's body for the weapon/item you want to remove and if it is there then remove it from the body / delete the body
have ago at it yourself and if you get stuck i will help you out more...
the code i gave you repairs the hit points and saves it to the server or is supposed to anyway replace the script vampire gave you with mine and let me know how it goes as i dont have a vanilla server to test on
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.