Posts: 1,911
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: 5,135
Threads: 241
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,185
Threads: 72
Joined: Jan 2011
Reputation:
25
there is a "isTouching" function???
lol
Posts: 1,911
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,157
Threads: 120
Joined: Apr 2011
Reputation:
71
It's called ".body" in MW2, and it's probably the same in cod4-BO.