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 01-10-2010, 11:35 PM
Immolate Immolate is offline
Indigo
Join Date: Dec 2009
Posts: 322
Immolate is on a distinguished road
Quote:
Originally Posted by DustyPorViva View Post
So is it echoing test?
Try this:
PHP Code:
//#CLIENTSIDE

function onCreated()
{
  
FinalStar_Test_Gui.destroy();
  
  new 
GuiWindowCtrl("FinalStar_Test_Gui")
  {
    
profile GuiBlueWindowProfile;
    
useownprofile true;
    
    
profile.bitmap "finalstar_gui.png";
    
    
10;
    
width 200;
    
height 300;
    
    
canclose =
    
canmaximize =
    
canminimize =
    
canresize false;
    
    
text "Test";
  }
  
  echo(
"Test");

It might help to assign an X and Y. I imagine it doesn't, but in this case it doesn't hurt to try. Also, I think useownprofile expects you to actually provide all the data needed to create a successful profile. In your case, all you're providing is the bitmap, so the other data may not be provided. You assign a profile like GuiBlueWindowProfile, then you edit individual values that you want to change and the default profile fills in the rest.
I used a different bitmap made by someone else and it worked perfectly.
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 10:49 PM.


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