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 04-20-2006, 06:34 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Mousewheel

Uhh, is their anything for mousewheeldelta in gs2?
Reply With Quote
  #2  
Old 04-20-2006, 02:46 PM
VulcanP2P VulcanP2P is offline
Registered User
VulcanP2P's Avatar
Join Date: May 2005
Location: Florida
Posts: 882
VulcanP2P is on a distinguished road
Here:

Quote:
Originally Posted by http://wiki.graal.net/index.php/Creation/Dev/Script/Client
mousewheeldelta integer (read only)
__________________

For Zone or Guild Support use the Support Center
Reply With Quote
  #3  
Old 04-20-2006, 03:31 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
I know how to use in GS1.. was curious if their is anything for GUI controls w/ it.


Hey.. uhh.. whats up w/ this:
PHP Code:
function onActionItemInfo(action)
{
  switch (
action)
  {
    case 
"getiteminfo":
    {
      
player.chat "Test";
      break;
    }
  }
}
//#CLIENTSIDE
function onPlayerChats()
{
  if (
player.chat == "/products")
  {
    
triggeraction(xy"iteminfo""getiteminfo");
    
onCreateVars();
    
onDrawGui();
  }


Last edited by KuJi; 04-20-2006 at 04:58 PM..
Reply With Quote
  #4  
Old 04-20-2006, 11:25 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
You forgot a setshape() in there. It's needed to catch the trigger, in the serverside. It also helps to do x+1, y+1.
Reply With Quote
  #5  
Old 04-20-2006, 11:25 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
setshape(1, 32, 32);

is in the actual script b4 it joins the class.
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 07:05 PM.


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