function othersInSight (MyID) local actors = GetActors() local flg - false for i,v in ipairs(actors) do if (v ~= GetV(V_OWNER, MyID) and v ~= MyID) then if v > 100000 and IsMonster(v) ~= 1 then flg = true end end end if flg then SkillObject(パラメータ順番とスキルID忘れた) end