Posts: 1,860
Threads: 183
Joined: Nov 2010
Reputation:
35
I'm working on a new class for survivors. Vampire class. It will be able to suck blood from dead zombies(redead?).
Anyway, I want to know how to check if a player is touching an enemy players corpse.
Thanks Barata...
Posts: 4,925
Threads: 239
Joined: Nov 2010
Reputation:
100
Lemon, try to do some research before asking on ItsMods. You could just have ctrl+f'd on the function list.
Posts: 1,163
Threads: 72
Joined: Jan 2011
Reputation:
25
there is a "isTouching" function???
lol
Posts: 1,860
Threads: 183
Joined: Nov 2010
Reputation:
35
I know the istouching function, what I want to learn is the corpse.
if(self isTouching(level.players[2].corpse))
???
Posts: 2,049
Threads: 116
Joined: Apr 2011
Reputation:
71
It's called ".body" in MW2, and it's probably the same in cod4-BO.