Arma 3
Ravage
IZaRTaX Jul 14, 2019 @ 5:43am
[Ambient Zombies] Custom Safe Zone (setDamage/deleteVehicle) not working
Hi , I'm trying to add my own safe zone but it's not working i don't know what I did wrong I'm based on markers here is the script:

0 = [] spawn
{
while{true} do
{
{
if( (_x isKindOf "zombie") && _x distance (getMarkerPos "mrk_safe_zone_14") < 100) then {_x setDamage 1};
}
forEach allUnits;
sleep .1;
};
};

The script works if you spawn zombies in zeus mod but not on ravage Ambient Zombies module.
Any help to figure it out please ? :steamfacepalm:
Last edited by IZaRTaX; Jul 14, 2019 @ 5:50am
< >
Showing 1-2 of 2 comments
Oldru_Vallière Jul 29, 2019 @ 2:55pm 
im not sure if this will work but try and have your code there in a SQF file and set the ambient
zombie module set to execute the SQF in init. at the bottom where you can add custom event handdlers
IZaRTaX Aug 1, 2019 @ 10:53am 
Originally posted by Dragon_Vallière:
im not sure if this will work but try and have your code there in a SQF file and set the ambient
zombie module set to execute the SQF in init. at the bottom where you can add custom event handdlers

Ok I'll try
< >
Showing 1-2 of 2 comments
Per page: 1530 50