7966
General Discussion / Re: Catch me up on what i missed.
« on: March 30, 2011, 03:29:17 PM »
Holy crap, didn't expect you
Welcome back!
Welcome back!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

It was com.Shame
i would be pleased with a 512k limit.Lol, you've been pushing for that since forever
someday maybe <3

function ServerCmdObjTest(%client)
{
%player = %client.player;
%start = %player.getEyePoint();
%end = vectorAdd(%start, vectorScale(%player.getEyeVector(), 5));
%ray = containerRayCast(%start, %end, $Typemasks::PlayerObjectType | $Typemasks::FXbrickObjectType | $Typemasks::TerrainObjectType | $Typemasks::InteriorObjectType, %player);
if(isObject(%hit = getWord(%ray, 0)))
{
if(%hit.getClassName() $= "fxDTSBrick")
{
messageClient(%client,'',"Position:" @ %hit.getPosition());
} else
{
messageClient(%client,'',"That is not a brick!");
}
}
}
Works ingame, just gotta move the hub joints upward a little and get the tank turret goingWow, all you did was make a copy of the default tank chassis and stretch a poorly mapped texture over it.