[Question] Players check for boss

Hi.

Just want to ask: is it possible to check how many players in front of the boss?

Just played on MOP Server, found that Garalon is easy to make boss, so wanna give him life on my 335a server

Use math (Dot product from the location vectors of the players and the NPC).

Or you could use the simple yet useful WorldObject::IsInFront as a predicate

thx, will try. If i’ll have any success, i will share with code