Quote:
Originally Posted by kingcj
Sorry for the double post. Is there anyway to detect gralats that have been laid, without a custom system? I realize that the player touches the gralat and gets it, but how would another npc detect them?
|
Find the NPC using the
npcs array or
findAreaNPCs (or some other method of finding NPCs) and check
PHP Code:
npc.isInClass("gralats")
to see if the NPC is a dropped gralat.