Thread: help me plz!!!
View Single Post
  #8  
Old 02-13-2002, 02:58 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Re: no

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
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote