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-26-2010, 01:14 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Opening GUIs?

Is there a scripting command to open different Graal-Wide GUI's such as the player list, RC, options menu, etc.?
Reply With Quote
  #2  
Old 10-26-2010, 02:05 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
If you know the name of GUI object.

object.show();

works just fine.
__________________
Quote:
Reply With Quote
  #3  
Old 10-26-2010, 02:31 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Ok.

In that case, does anyone know the name of those GUI objects?
Reply With Quote
  #4  
Old 10-26-2010, 04:57 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Learn more about the scripts around you by dumping all their user-defined functions, and a quick peek at some this vars.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  for (
temp.wepplayer.weapons) {
    
temp.funcs temp.wep.getfunctions();
    for (
temp.functemp.funcs) {
      
// Ignore Built-In Functions
      // All user-defined functions have a parameters set to ...
      
if (temp.func.parameters != "...") continue;
      
temp.doc.add((temp.func.scope == "public" "public " "") @ "function " temp.func "();");
    }
    
temp.doc.sortdescending();
    
temp.doc.insert(0"== Functions ==");
    
temp.doc.add("== this. Variables == ");
    
temp.keys temp.wep.getdynamicvarnames();
    for (
temp.keytemp.keys) {
      if (
temp.key in temp.funcs) continue;
      
temp.doc.add("this." temp.key SPC "=" SPC temp.wep.(@temp.key));
    }
    
temp.doc.savelines("functions/" temp.wep.name ".txt"0);
    
temp.doc "";
  }

__________________
Quote:
Reply With Quote
  #5  
Old 10-26-2010, 08:08 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
haha thanks
__________________
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 12:08 AM.


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