View Single Post
  #7  
Old 06-01-2012, 07:56 PM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by brokk View Post
Sooooo is there any solution to my problem??
Just set some property of the npc (say, player_hp) by doing temp.npc.player_hp = player.clientr.hp; when creating the npc (i.e., below putnpc2). Then, when you want to display the number, just use this.player_hp instead of player.clientr.hp in your class.

You could also just do temp.npc.showtext(...), if you wanted.
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote