%cl = new AIConnection()
{
name = "AI Test";
bl_id = -1;
};
%pl = new AIPlayer()
{
position = %pos;
datablock = PlayerStandardArmor;
};
%cl.player = %pl;
%pl.client = %cl;
I have also created a AIConnection::onDeath - everything works, and even the name of the bot in CI's works when it kills you (not when you kill it, though).
But the problem is, .setMoveDestination, .setMoveDestination, .setMoveObject, .setAimObject, .setAimLocation, .getAimLocation, .getAimObject, .getMoveDestination, .getMoveObject, etc. have no effect whatsoever.