Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-07-2006, 09:19 PM
Omini Omini is offline
Millenium Owner
Join Date: Feb 2006
Location: N.Ireland
Posts: 293
Omini is on a distinguished road
Send a message via AIM to Omini Send a message via MSN to Omini Send a message via Yahoo to Omini
I have no idea how to use checkboxes either. But would the GuiRadioCtrl look something like this?

PHP Code:
new GuiRadioCtrl("RadioButton1") {
  
20;
  
20;
  
width 32;
  
height 32;
  
groupnum 1;
}

new 
GuiRadioCtrl("RadioButton2") {
  
60;
  
20;
  
width 32;
  
height 32;
  
groupnum 1;
}

new 
GuiRadioCtrl("RadioButton3") {
  
20;
  
60;
  
width 32;
  
height 32;
  
groupnum 2;
}

new 
GuiRadioCtrl("RadioButton4") {
  
60;
  
60;
  
width 32;
  
height 32;
  
groupnum 2;

Would that be it? Or is there anything else that I missed out?



Edit:

I've tried it and it works. Thanks for your help Yen.

Also - am I right in understanding that to read it, you've said GUI.checked? Would that be like this :

PHP Code:
if (RadioButton1.checked == true) { } 
Or is it something else?
__________________




Last edited by Omini; 08-07-2006 at 10:07 PM..
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 01:11 AM.


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