View Single Post
  #4  
Old 06-01-2012, 07:11 PM
brokk brokk is offline
Registered User
Join Date: May 2012
Posts: 84
brokk is on a distinguished road
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?
Reply With Quote