I want to add abnormal effect when player is inside xx radius of object, I've tried to use in L2Pcinstance something like -
if(isInsideRadius(objX,objY,objZ,500, false, false))
{
startAbnormalEffect(AbnormalEffect.MAGIC_CIRCLE);
sendMessage("You have entered artefact area");
}
but it doesn't work, how to do it right?