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 07-27-2008, 10:19 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Mouse clicks not detected

For some strange reason on Maloria I can't find any way to detect mouse clicks. These kinds of things aren't working.
PHP Code:
//#CLIENTSIDE
function onMouseDown()
  
player.chat "Test";

function 
GraalControl.onMouseDown()
  
player.chat "Super Test"
I can't seem to figure it out, is our NPC Server really that retarded and messed up?
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #2  
Old 07-27-2008, 10:22 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by coreys View Post
I can't seem to figure it out, is our NPC Server really that retarded and messed up?
Don't blame the NPC-Server for your own state of retardation.

The GraalControl.onMouseDown() should work fine provided you're clicking on the control and not another Gui Control.
__________________
Reply With Quote
  #3  
Old 07-27-2008, 10:39 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Inverness View Post
Don't blame the NPC-Server for your own state of retardation.
Way to be an nonconstructive *******! ::thumbs up::

Quote:
Originally Posted by Inverness View Post
The GraalControl.onMouseDown() should work fine provided you're clicking on the control and not another Gui Control.
No **** sherlock. And it's not working.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #4  
Old 07-27-2008, 10:43 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by coreys View Post
Way to be an nonconstructive *******! ::thumbs up::

No **** sherlock. And it's not working.
This is not how you motivate people to help you.
Reply With Quote
  #5  
Old 07-27-2008, 10:44 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Loriel View Post
This is not how you motivate people to help you.
I know, he didn't need to do that, though. He wasn't helping whatsoever.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #6  
Old 07-27-2008, 10:56 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally Posted by coreys View Post
I know, he didn't need to do that, though. He wasn't helping whatsoever.
Yeah but now you can be sure that he is not going try to actually help you either.
Reply With Quote
  #7  
Old 07-27-2008, 10:48 PM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
It works fine for me. Chat is set properly and everything is echoed properly. Without braces, chat is set properly, but it does not echo properly.

You're sure there isn't something conflicting with it on your server?
PHP Code:
//#CLIENTSIDE
function onMouseDown() {
  
player.chat "Test";
  echo(
"onMouseDown()");
}
function 
GraalControl.onMouseDown() {
  
player.chat "Super Test";  
  echo(
"GraalControl.onMouseDown()");

__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote
  #8  
Old 07-27-2008, 11:19 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
I figured the problem out. There was a GuiControl covering the entirety of the screen.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
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 09:38 PM.


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