Arma 3
Ravage
IZaRTaX 2019 年 7 月 14 日 上午 5:43
[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:
最後修改者:IZaRTaX; 2019 年 7 月 14 日 上午 5:50
< >
目前顯示第 1-2 則留言,共 2
Oldru_Vallière 2019 年 7 月 29 日 下午 2:55 
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 2019 年 8 月 1 日 上午 10:53 
引用自 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
< >
目前顯示第 1-2 則留言,共 2
每頁顯示: 1530 50