Game Development Community

Death Code breakpoints

by Howard Dortch · in Torque Game Engine · 03/14/2005 (8:47 am) · 2 replies

I set a breakpoint on the following items and they never hit when a death happens. Can somone suggest a spot in the code I can set a breakpoint to trap the start of the death animation sequence?

F32 Player::deathDelta(Point3F & delta)

void Player::updateDeathOffsets()

MatrixF * Player::Death::fallToGround(F32 dt, const Point3F& loc, F32 curZ, F32 boxRad)

#1
03/14/2005 (2:16 pm)
Have you checked the player::OnDeath ?
#2
03/15/2005 (7:30 am)
Seems there is no such function.

Searching for 'onDeath'...
Cannot find the string 'onDeath'.