Quote:
Firstly, there's some things you could improve with your code. There's not really any consitancy with your styling, and instead of using a timeout you can use scheduleEvent()
Secondly, you just have to set the text of the NPC to what you want it to say using this.chat;
|
but the NPC doesn't know which player. Basically when you touch a a certain NPC (let's call it npcA) it created the NPC drawing the player.hp (npcB)
so npcA is creating npcB but I want it to display the player who touched npcA their hp.
Doesn't it have to do with params?