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 02-10-2013, 07:30 AM
Nomad_P2P Nomad_P2P is offline
Currently on UN :>
Nomad_P2P's Avatar
Join Date: Oct 2005
Location: New Zealand
Posts: 81
Nomad_P2P will become famous soon enough
A tad stumped...

Hey guys,

I am currently working on a playlist as I progress through learning GS2. I am a bit stuck on one part. I am trying to figure out a simple method too have song links remembered by script, or something.

NPC Code:

function PlaylistSet_Button2.onAction() {
if ( PlaylistGUI_Window1.visible == true ) {
PlaylistGUI_TextList1_Scroll.visible = true;
PlaylistGUI_TextList1.visible = true;
temp.i = PlaylistGUI_TextList1.rowCount();
PlaylistGUI_TextList1.addRow( temp.i + 1, PlaylistSet_TextEdit1.text SPC "-" SPC PlaylistSet_TextEdit2.text );
PlaylistSet_Window1.destroy();
}



The song Link is in PlaylistSet_TextEdit3.text, I currently just have the above for adding songs too the list, so it shows them being there.

Any help would be much appreciated.
__________________
Reply With Quote
  #2  
Old 02-10-2013, 08:04 PM
dbug dbug is offline
Registered User
Join Date: Dec 2005
Posts: 86
dbug will become famous soon enough
Did you try clearing the list before it add's items?
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:06 AM.


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