
I know. Another post. I'm posting here constantly. Anyway, is there a way to check whether an NPC hurts the player or not? What I mean is, checking the value of the flag you can set in an npc-*.txt, "nohurt." Without this ability, there is no effective way to tell LunaLua if an NPC is an enemy or not, and my Starman will just make the player kill every NPC he touches. You can see why that would be a problem.
![]() | ||
Maybe you want to check the value "nohurt" with this API: http://wohlsoft.ru/pgewiki/Npcconfig.lua
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.start() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.end() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ | ||
Who is online (over the past 5 minutes)Users browsing this forum: 1 guest | ||