Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Clicking Warper (https://forums.graalonline.com/forums/showthread.php?t=39047)

KuJi2002 10-08-2002 06:53 PM

Clicking Warper
 
Umm this works but it warps to 2 places then warps where my mouse is
NPC Code:

// NPC made by KuJi
if (playerenters) {
toweapons -Click-NPC;
}
if (mousedown && leftmousebutton) {
playerx=mousex-2;
playery=mousey-1;
}


Goboom 10-09-2002 04:53 AM

::Gets on knees::
::STARTS LAUGHING LIKE A MO' FO'

Torankusu 10-09-2002 05:16 AM

Re: Clicking Warper
 
Quote:

Originally posted by KuJi2002
it warps to 2 places then warps where my mouse is

?
It works fine for me...

KuJi2002 10-09-2002 05:38 AM

Quote:

Originally posted by Kaimetsu
Fantastic. Have a cookie.
Quote:

Originally posted by Goboom
::Gets on knees::
::STARTS LAUGHING LIKE A MO' FO'

???

R0bin 10-09-2002 06:28 AM

Quote:

Originally posted by KuJi2002


???

Kai is in a cookie giving mode :D

Goboom shush, stop scaring the poor newbie.

emortylone 10-09-2002 06:30 AM

If something is screwing up on you like that, odds are there's more to it than just that. Close Graal, reopen it, and odds are you just had something else going or you had more than you're telling us ;)
---Shifter

Dach 10-09-2002 07:31 AM

I had something like that when I made my weapons menu. It never found the right index when I would click it, and sometimes it couldn't decide.

But mine was a bit more complicated and I figured I had messed something up, but if yours is messing up, then something may be screwy with the commands or such.

Goboom 10-09-2002 07:34 PM

Quote:

Originally posted by R0bin

Kai is in a cookie giving mode :D

Goboom shush, stop scaring the poor newbie.


I'm sorry.
::Continues laughing like a MO' FO'::

KuJi2002 10-10-2002 05:11 AM

Does playerx/playery good these days all i do is see it in staff boots like
playerx+1.5;

KuJi2002 10-10-2002 05:11 AM

Quote:

Originally posted by Goboom

I'm sorry.
::Continues laughing like a MO' FO'::

Are you a nut?

Torankusu 10-10-2002 05:47 AM

Quote:

Originally posted by KuJi2002
Does playerx/playery good these days all i do is see it in staff boots like
playerx+1.5;

...
It's also useful in vecx/ys, DETECTING THE PLAYER X/Y, PLACING THINGS AROUND THE PLAYER X/Y OR ON... \
"useful these days?" Are you crazy?

Goboom 10-10-2002 08:02 AM

Quote:

Originally posted by KuJi2002

Are you a nut?

Nope :D
::Continues Laughing Like A MO' FO'::


All times are GMT +2. The time now is 02:47 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.