Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-08-2006, 09:46 AM
_Z3phyr_ _Z3phyr_ is offline
Banned
Join Date: Sep 2003
Location: Louisiane
Posts: 390
_Z3phyr_ is an unknown quantity at this point
Forget that question please. While I was unable to login to the g2k1 forums I eventually solved that matter.



New question:
How to use onSelect(qch, qch, qch)?

function GUIname.onSelect(?,?,?) {}

can someone give me a practical example for what to use in the function's arguments? I'm having trouble figuring out whether I should put a variable for the node's name, make a for loop and put the node's name in the 1st argument position and leave the others null, or what...


edit - can I say

function GUI_Name.onSelect(getselectednode(),null,null) {}

to make this work or should I use a variable and assign it to getselectednode()?

edit again - would I need to use the TreeViewCtrl name or the ScrollCtrl name?

((If I am way off then don't bother elaborating on why I'm wrong and just tell me the answer and call me stupid or something -ooc))
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:26 AM.


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