User talk:Dutchmega: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
Remove IsPlayer() before it ;)
Remove IsPlayer() before it ;)
:Didn't work --[[User:Generaleskimo|General Eskimo]]
:Didn't work --[[User:Generaleskimo|General Eskimo]]
Well, in that case it gets harder... I don't know what I have changed in my code... You should do some debugging... is SpawnBlood() even called? And so, what color blood? (it shouldn't be DONT_BLEED) -- [[User:dutchmega|dutchmega]]

Revision as of 02:31, 29 April 2006

Fixing NPC's not bleeding

Look in AI_BaseNPC.cpp, around line 1020, look for the call to the function SpawnBlood. Remove IsPlayer() before it ;)

Didn't work --General Eskimo

Well, in that case it gets harder... I don't know what I have changed in my code... You should do some debugging... is SpawnBlood() even called? And so, what color blood? (it shouldn't be DONT_BLEED) -- dutchmega