is there any way with GE to copy a text actor to the clipboa

Game Editor comments and discussion.

is there any way with GE to copy a text actor to the clipboa

Postby Sgt. Sparky » Sun Feb 04, 2007 2:58 am

-rd so it can be pasted inton other applications? :D
also, is the any way you could save a text actor ast a .txt or somthing like that in game? Here is what I use to normally save:
Code: Select all
strcpy(&TextFile, Text.text);
saveVars("(SaveName)TextFile", "TextSave");

what would/could I do so I could save it onto the clipboard(copy it) or save it as a .txt?
and how do I save a vars title as another set var name? :)
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby makslane » Sun Feb 04, 2007 1:44 pm

If you want save other file formats, You need implement by yourself.
Take a look in the fopen and fprintf C functions.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Sgt. Sparky » Sun Feb 04, 2007 2:52 pm

okay! :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron