Quote:
Originally posted by darkriders_p2p
there isn't npctouchme
But if you want an NPC to attack someone with a weapon,put like NPC Code:
if (hasweapon(whatever)
at the very start of the script for an NPC baddie,but you probably wouldn't like that
|
yeah afraid that is the ony REAL way i can think that you can do that.
if (playerx>this.difx1 && playerx<this.dfx2 && playery>this.diffy1 && playery<this.diffy2 && hasweapon(bah)){
Script goes here
}
but this would have to be in a timeout so the NPC can detect when the NPC or player is near him, i may just post my baddy on here it would be easier