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 12-20-2012, 03:40 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
GuiPopUpMenuCtrl Profile Issues

No idea why it's not working. It's in a window ctrl with a lot of other gui's. None of the popups work period using this. I've also used quotation marks and it doesn't work either.... This does however work in a different gui in a different weapon, with quotations, just fine...

PHP Code:
new GuiPopUpMenuCtrl("Mail_Combo_MoveTo")
    {
      
      
profile GuiBluePopUpMenuProfile;
      
textprofile Armageddon_TextList;
      
scrollprofile Armageddon_Scroll;
      
299;
      
184;
      
width 94;
      
height 20;
      
useownprofile true;
      
clearrows();
      
addrow(0"Saved");
      
addrow(1"Inbox");
      
setSelectedRow(0);
    } 
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...



Last edited by sssssssssss; 12-20-2012 at 04:34 AM..
Reply With Quote
  #2  
Old 12-20-2012, 03:46 AM
Gos_pira Gos_pira is offline
Registered Pirate Ghost
Gos_pira's Avatar
Join Date: Sep 2009
Location: Pirate Ghost Ship
Posts: 175
Gos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to behold
I've also had problems with this.
Reply With Quote
  #3  
Old 12-20-2012, 04:30 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
PHP Code:
useownprofile true;
      
profile Armageddon_Scroll;
      
scrollprofile Armageddon_Scroll
That works. Making sure the main profile is a scroll profile made it work fine. Using a text profile kept putting a "bubble" in the text so I took that one out.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
  #4  
Old 12-20-2012, 06:07 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Be careful about setting useOwnProfile = true; before defining the profile, that can sometimes cause useOwnProfile to be ignored (and thus your changes affect all instances of that profile).
__________________
Reply With Quote
  #5  
Old 12-20-2012, 11:14 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Doesn't setting a profile after useOwnProfile = true; completely overwrite the use of own profile?

I always did it like:

PHP Code:
this.useOwnProfile true;
this.profile.copyFrom(GuiWhateverProfile); 
__________________
Follow my work on social media post-Graal:Updated august 2025.
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 05:40 PM.


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