I'm currently working on [url=http://www.facepunch.com/showthread.php?t=940273]Colonies Improved[/url], and I was hoping if anyone had any idea about how to adjust the damage a scripted NPC deals?
Bump.
Any ideas?
What kind of damage. Adjust how?
[QUOTE=ralle105;23258231]What kind of damage. Adjust how?[/QUOTE]
The damage they deal.
E.g. A headcrab.
[QUOTE=JgcxCub;23260174]The damage they deal.
E.g. A headcrab.[/QUOTE]
Wouldn't you edit the NPC files?
Yeah, unless they have guns you must be dealing the damage manually somewhere.
Ctrl + F and try to find TakeDamage.
It's a function that is most likely used in the NPC to cause damage to the entity it attacks.
Example: target:TakeDamage(50,self,self:GetActiveWeapon())
I have to adjust this from inside the SEnt's script (a headcrab), by the way.
Yes that's where it would be.
Sorry, you need to Log In to post a reply to this thread.