soo.... I was looking at the bot events source, and i found this:
function AIPlayer::lookAtPlayers(%this)
{
if(isObject(%this))
{
%dist = 1000;
for(%i = 0; %i < clientGroup.getCount(); %i++)
{
if(isObject(%player = clientGroup.getObject(%i).player))
{
if((%distB = vectorDist(%this.getPosition(), %player.getPosition())) < %dist)
{
%closestplayer = %player;
%dist = %distB;
}
}
}
if(isObject(%closestplayer))
{
%this.setAimObject(%closestplayer);
}
%this.playerLookLoop = %this.schedule(5000, lookAtPlayers);
}
}
I thought - !!!Auto Aiming HMGs on an Aircraft Carrier!!!
So. Could someone put this into a vehicle's turret and have it work?!
Thank you.
-edit- I would also like "the penetrator" from Saints Row 3 (just for lolz)