Quote:
Originally Posted by cbk1994
PHP Code:
// put this in a database NPC function onCreated() { temp.lvl = findLevel("mygmap.gmap"); temp.lvlNPCs = temp.lvl.npcs; for (temp.npc : temp.lvlNPCs) { if (temp.npc.img == "block.png") { temp.npc.destroy(); } } }
|
I just came across this and it looks very insightful,
whether or not I will ever use it to find npc images
to do something, I'd like to give you rep when I can.