Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-08-2002, 06:53 PM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
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;
}

Reply With Quote
  #2  
Old 10-09-2002, 04:53 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
::Gets on knees::
::STARTS LAUGHING LIKE A MO' FO'
__________________
Reply With Quote
  #3  
Old 10-09-2002, 05:16 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
Re: Clicking Warper

Quote:
Originally posted by KuJi2002
it warps to 2 places then warps where my mouse is
?
It works fine for me...
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #4  
Old 10-09-2002, 05:38 AM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
Quote:
Originally posted by Kaimetsu
Fantastic. Have a cookie.
Quote:
Originally posted by Goboom
::Gets on knees::
::STARTS LAUGHING LIKE A MO' FO'
???
Reply With Quote
  #5  
Old 10-09-2002, 06:28 AM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
Quote:
Originally posted by KuJi2002


???
Kai is in a cookie giving mode

Goboom shush, stop scaring the poor newbie.
Reply With Quote
  #6  
Old 10-09-2002, 06:30 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
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
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #7  
Old 10-09-2002, 07:31 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
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.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #8  
Old 10-09-2002, 07:34 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by R0bin

Kai is in a cookie giving mode

Goboom shush, stop scaring the poor newbie.

I'm sorry.
::Continues laughing like a MO' FO'::
__________________
Reply With Quote
  #9  
Old 10-10-2002, 05:11 AM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
Does playerx/playery good these days all i do is see it in staff boots like
playerx+1.5;
Reply With Quote
  #10  
Old 10-10-2002, 05:11 AM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
Quote:
Originally posted by Goboom

I'm sorry.
::Continues laughing like a MO' FO'::
Are you a nut?
Reply With Quote
  #11  
Old 10-10-2002, 05:47 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
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?
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #12  
Old 10-10-2002, 08:02 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by KuJi2002

Are you a nut?
Nope
::Continues Laughing Like A MO' FO'::
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:20 AM.


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