Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-06-2008, 07:53 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
ok i got this far guys now im stuck

kk i have my message gui where when u click on a npc it opens up a blue gui an talks to you instead of the blue gui u get in teh gui editor how would u upload ur own image instead of that blue box

PHP Code:
//#CLIENTSIDE
function onActionLeftMouse(){
new 
GuiWindowCtrl("MyGUI_Window1"){
profile GuiBlueWindowProfile;
    
clientrelative true;
    
clientextent "320,240";
    
canresize=false;
canminimize=false;
canclose=true;
canmaximize=false;
destroyonhide=true;
    
text "message";
    
285;
    
241;

    new 
GuiTextCtrl("MyGUI_Text1") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Uhhhhhhh.The earth is tearing apart with ";
      
width 228;
      
50;
      
50;
    }
    new 
GuiTextCtrl("MyGUI_Text2") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "with the reactors there are making the ";
      
width 217;
      
52;
      
69;
    }
    new 
GuiTextCtrl("MyGUI_Text3") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "planet die you must stop them please.";
      
width 212;
      
55;
      
88;
    }
  }

heres a screen shot what i am talking about if yall dont know
Reply With Quote
 


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 08:44 AM.


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