|
Re: is there a way to do this?
[Re: alienheretic]
#137553
06/21/07 21:47
06/21/07 21:47
|
Joined: Oct 2004
Posts: 4,134 Netherlands
Joozey
Expert
|
Expert
Joined: Oct 2004
Posts: 4,134
Netherlands
|
you could re-create the panel? Code:
panel* my_panel; string comp_panel_str;
function display_dynamic_panel (str) { str_cpy (comp_panel_str, "digits 164,68,\""); str_cat (comp_panel_str, str); str_cat (comp_panel_str, "\",menu_font,0,0;");
return (pan_create (comp_panel_str)); //returns the new created panel pointer }
...
if (my_panel) {pan_remove (my_panel);} //if panel already exists, remove first my_panel = display_dynamic_panel ("lala I am good"); //make new panel and store my_panel.visible = on; //show panel
well, theoretically this should work... it should display the name on screen when calling the function with the right arguments
Last edited by Jostie; 06/21/07 21:48.
Click and join the 3dgs irc community! Room: #3dgs
|
|
|
Re: is there a way to do this?
[Re: tompo]
#137559
06/22/07 13:44
06/22/07 13:44
|
Joined: Mar 2006
Posts: 752 Portugal
demiGod
User
|
User
Joined: Mar 2006
Posts: 752
Portugal
|
No problem Thunder (which new name i cant spell ), we are learning new things everyday, including me.
" If i disappear without say anything thatīs because iīm dead. "
|
|
|
|