Hazard.ep
11th Jun 2005, 03:12 AM
Hi there. I'm trying to restructure my AI and want the monsters to use BotAI as it's just much better and useful. However always when one of the monsters is killed it respawns and I didn't get that to stop yet.
I tried to replace the state dead with sth. like this:
state dead
{
function BeginState()
{
Destroy() //When pawn is dead controller should be too
}
//just to override anything that was made here before (respawning)
Begin:
TryAgain:
MPDead:
}
But that didn't work. Nevertheless sth. is calling RestartPlayer() in Level.Game and I found no other possible place where this is called from to really respawn a player. Any ideas?
I tried to replace the state dead with sth. like this:
state dead
{
function BeginState()
{
Destroy() //When pawn is dead controller should be too
}
//just to override anything that was made here before (respawning)
Begin:
TryAgain:
MPDead:
}
But that didn't work. Nevertheless sth. is calling RestartPlayer() in Level.Game and I found no other possible place where this is called from to really respawn a player. Any ideas?