16
Off Topic / Re: PointerPointer
« on: November 24, 2014, 08:59:37 PM »
I'm no cursor, but this site really makes me angry.
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.
Code that destroys entire blockland folders if you give it enough time, erasing all your saves, screenshots, WIP add-ons, and whatnot?Yeah, revoking any and all of his keys would not be going "too far" in my opinion. Any data that was destroyed that cannot be replaced - mainly private/WIP add-ons and saves - are serious offenses.
This is because the client tells the engine in the next frame that they are not pressing the trigger, so it gets set to 0. Try it on an AIPlayer for comparison.That seems to be the case. Would you happen to know what procedure it uses to go back to 0? GameConnection didn't seem to have any (directly) related functions, and it's not using %player.setImageTrigger() to revert back.
if(%slot == 4 && %val && %player.getMountedImage(1) && %player.getImageState(1) $= "Ready")
{
%player.setImageTrigger(1,1);
%player.playThread(3, leftRecoil);
}
if(%slot == 4 && !%val && %player.getMountedImage(1))
{
%player.setImageTrigger(1,0);
%player.playthread(3, armReadyLeft);
}
When using this code (or for that matter, using player.setImageTrigger(1,1); at all), the trigger's state is almost instantly set back to 0. The only time it seems to still be active is when using player.getImageTrigger(1); in the same line of code.