AIPlayer / AIClient
by Badguy · in Torque Game Engine · 10/09/2002 (10:56 am) · 2 replies
Ok who is working on this?
I cant make sense of the AIPlayer::spawnPlayer(..)
shouldn't it be respawnPlayer?
as it seems to already be an object but in the function it creates a new one ..
so to get a new AIPlayer .. first I make one..
I cant make sense of the AIPlayer::spawnPlayer(..)
shouldn't it be respawnPlayer?
as it seems to already be an object but in the function it creates a new one ..
so to get a new AIPlayer .. first I make one..
%bleah = new AIPlayer(grr)
{
bleah...
};then call the function spawnPlayer.. and it makes another?About the author
Torque Owner Mike Nelson
This is like a static class method in C++, you don't actually need an AIPlayer object to make a call to it.