4096
Modification Help / Re: Custom Playertype Jet Emitters?
« on: June 30, 2012, 09:16:55 PM »
Wait, what are you trying to do?
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.
function Player::lookingAtWater(%client, %range)
{
%player = %client.player;
%name = %client.name;
%typemasks = $TypeMasks::PlayerObjectType || $TypeMasks::WaterObjectType;
%eyeVector = %player.getEyeVector();
%eyePoint = %player.getEyePoint();
%target = containerRayCast(%eyePoint, vectorAdd(vectorScale(vectorNormalize(%eyeVector), (%range * 0.5)), %eyePoint), %typemasks, %player);
%obj = %target.getID();
if(isObject(%player) && (%player.getClassName() $= "Player))
{
if(isObject(%obj))
{
return 1;
}
}
return 0;
}
And then I can do if(%player.lookingAtWater(7)) to check if their looking at water?
among other things, container radius searches.Speaking of raycasts; How would I check if a player is looking at water or a water brick within 7 studs?
also raycasts in general
Already one problem.Not sure if that's possible.
I dont want lots of prints around the side, I just want one big print wrapped around the brick.
If everyone followed that rule, there would be 12 posts on the forums.Yes but you are hanging around this topic and hating whenever you get the chance.
Thought server closed and I was briefly happy.Ugh, is there nothing else you can do but hate? Have you never heard the saying "If you don't have anything nice to say don't say anything at all"?
What am I supposed to do?Build or do one of those shooting servers if you ask me.
Also, explain why there are about 10 people doing it on Cysero's Medieval RP.Their lives are hollow shells and they have no good reality to come back to so they pretend that Blockland is the only reality. Explained.
It's one of the only things that'll entertain me on blockland.It's not healthy to pretend that Blockland is reality.
How long has Badspot been hosting the block party?Wasn't it called Badspot's Lag Party before that?