write to file script - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: write to file script (/thread-16145.html) |
write to file script - good871 - 06-14-2012 Hi, Is it possible to write(read) to(from) a file in script? I want to save some information about game during playing. Thanks. RE: write to file script - SilentHideButFine - 06-14-2012 AddDeBuggMessage? RE: write to file script - Your Computer - 06-14-2012 Print is the closest you'll get. RE: write to file script - good871 - 06-15-2012 I ment create a file a print into this file during playing. For example: find 1 of 5 secret area in all game, print to file mark. RE: write to file script - SilentStriker - 06-15-2012 Well I think you can use GlobalVariables to read how many secrets or so the player have found and then write different credits for each amount of variable RE: write to file script - good871 - 06-15-2012 And how to count if it isn't in same level? RE: write to file script - SilentStriker - 06-16-2012 A GlobalVariable goes through out the whole CS but a LocalVariable is only for the map you use it on RE: write to file script - good871 - 06-16-2012 Thanks. It's like java. Sooo simple . |