--
[ Picked text/plain from multipart/alternative ]
Hi guys :D

Currently I'm wrestling with bots >=) And I have them working nicely, but
when they first get put in the game I don't want them to "spawn" physically
into the game. Just be in the player list ready to be called into action.

I have obviouslly supressed all Spawn(); calls in the bot file itself, but
I'm wondering where else one might have to go hunting. I thought that this
would be the only other place that would need checking.

void FinishClientPutInServer( CHL2MP_Player *pPlayer )
{
    if (!pPlayer->IsBot())
    {
        pPlayer->InitialSpawn();
        pPlayer->Spawn();
    }
}

--
- Benjamin Davison
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to