Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Passing GUI Values (https://forums.graalonline.com/forums/showthread.php?t=134256982)

sssssssssss 11-19-2009 07:38 AM

Passing GUI Values
 
If you have a gui with a text edit in it, and a submit button, how do you pass that value in the text edit, after hitting the submit button?

I need it to change stuff in a dbnpc.

DustyPorViva 11-19-2009 07:49 AM

function YourButtonGUI.onAction() {
temp.submittext = YourTextGUI.text;
}

sssssssssss 11-19-2009 08:21 AM

Thanks!


All times are GMT +2. The time now is 10:32 AM.

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