Posts: 126
Threads: 18
Joined: Dec 2008
Reputation:
0
Is it possible to make a npc that if you come into a certain range fights you?
If possible how ?
I couldnt anything on the forum that wasnt 2 years old or didnt say i couldnt kill npcs.
Posts: 160
Threads: 24
Joined: Oct 2009
Reputation:
0
they canґt die.. but you can try script Detecting damage for NPCs
Posts: 126
Threads: 18
Joined: Dec 2008
Reputation:
0
Like a getNPChealth or something ?
Posts: 126
Threads: 18
Joined: Dec 2008
Reputation:
0
Yea.. And then we need the npc to get health..
Would it then be possible to assign a variable to the npc like npchealth[npcid] = 100
and with every hit we assign damage with the weapons we have in the server?